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

This commit is contained in:
Bryan1029384756
2026-02-13 10:29:24 -06:00
parent 56a9523e38
commit 556a561449
15 changed files with 648 additions and 57 deletions

View File

@@ -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,
});
}