Reimplemented outdated code, added encryption keys for each room, added support for profile images, added friend requests via url/qr-code

This commit is contained in:
pascalyazid committed 2026-05-11 21:35:28 +02:00
1 parent 508f17315e
commit 32e4bf8b32
58 files changed
+3270 -362

No files matched your search

+2 -3
View File
@@ -3,10 +3,9 @@
import { createClient } from "./server";
export async function realtimeToken() {
const supabase = createClient();
const supabase = await createClient();
const token = (await (await supabase).auth.getSession()).data.session
?.access_token;
const token = (await supabase.auth.getSession()).data.session?.access_token;
if (!token) return null;
return token;
}