diff --git a/packages/web/components/MainTabsOrPages/Conversations.tsx b/packages/web/components/MainTabsOrPages/Conversations.tsx index e5fb38c..462d921 100644 --- a/packages/web/components/MainTabsOrPages/Conversations.tsx +++ b/packages/web/components/MainTabsOrPages/Conversations.tsx @@ -135,12 +135,16 @@ export default function Conversations() { } toast.remove(connectingToast); + toast.success("joined room"); }; const handleLeaveLive = async (conversationId: string) => { const leavingToast = toast.loading("leaving"); try { + // agora leave channel + await handleLeaveChannel(); + await conversationService.leaveLiveConversation( conversationId, currUser!.uid @@ -150,6 +154,7 @@ export default function Conversations() { } toast.remove(leavingToast); + toast.success("left room"); }; // agora start the call stream