diff --git a/api/src/tablo.ts b/api/src/tablo.ts index 351c5dc..496aa14 100644 --- a/api/src/tablo.ts +++ b/api/src/tablo.ts @@ -451,8 +451,12 @@ tabloRouter.post("/join", async (c) => { await supabase.from("tablo_invites").delete().eq("id", invite_id); - const channel = streamServerClient.channel("messaging", tablo_id); - await channel.addMembers([joiner.id]); + try { + const channel = streamServerClient.channel("messaging", tablo_id); + await channel.addMembers([joiner.id]); + } catch (error) { + console.error("error adding member to channel", error); + } return c.json({ message: "Tablo joined successfully" }); }); diff --git a/ui/index.html b/ui/index.html index b4ea48d..e0981a4 100644 --- a/ui/index.html +++ b/ui/index.html @@ -4,7 +4,6 @@ -
Vous avez été invité(e) à rejoindre ce tablo
-