feat: Implement initial Electron frontend with core UI, user and server settings, chat, and voice features, along with Convex backend schemas and functions.
Some checks failed
Build and Release / build-and-release (push) Has been cancelled
Some checks failed
Build and Release / build-and-release (push) Has been cancelled
This commit is contained in:
@@ -151,6 +151,7 @@ export const getAll = query({
|
||||
isScreenSharing: boolean;
|
||||
isServerMuted: boolean;
|
||||
avatarUrl: string | null;
|
||||
joinSoundUrl: string | null;
|
||||
watchingStream: string | null;
|
||||
}>> = {};
|
||||
|
||||
@@ -160,6 +161,10 @@ export const getAll = query({
|
||||
if (user?.avatarStorageId) {
|
||||
avatarUrl = await getPublicStorageUrl(ctx, user.avatarStorageId);
|
||||
}
|
||||
let joinSoundUrl: string | null = null;
|
||||
if (user?.joinSoundStorageId) {
|
||||
joinSoundUrl = await getPublicStorageUrl(ctx, user.joinSoundStorageId);
|
||||
}
|
||||
|
||||
(grouped[s.channelId] ??= []).push({
|
||||
userId: s.userId,
|
||||
@@ -169,6 +174,7 @@ export const getAll = query({
|
||||
isScreenSharing: s.isScreenSharing,
|
||||
isServerMuted: s.isServerMuted,
|
||||
avatarUrl,
|
||||
joinSoundUrl,
|
||||
watchingStream: s.watchingStream ?? null,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user