Hugo-OC
December 11, 2024, 12:05pm
1
Hi everyone,
I’m working on implementing a real-time chat workflow in my app, but I’m running into issues with presence states and how they function.
Here’s what I’ve done so far:
I have three buttons: Subscribe , Unsubscribe , and Update Presence State Manually . Each triggers a workflow tied to the respective actions.
There’s also a workflow triggered on presence updates (join, sync, etc.).
The setup mostly works—subscribing and unsubscribing function as expected. However, the presence update workflow triggers correctly for join and sync , but not when unsubscribing .
Additionally, I noticed that in Supabase’s Realtime Inspector, I don’t see any new events from weweb.
Any ideas why this might be happening or what I might be missing?
Hugo-OC
December 13, 2024, 12:35pm
2
Also another issue I am having is multi-table subscription,
Here’s what’s mentionned in supabase doc :
But I can’t find a way to subscribe to several tables in weweb :
I tried using another subscribe block but it seems to delete the previous subscription?
Any solutions ?
Thank you
Joyce
December 17, 2024, 12:23pm
3
Hi @Hugo-OC
I’m having trouble understanding and reproducing your issue to be honest. Perhaps a video walkthrough would help?
Re this: “I tried using another subscribe block but it seems to delete the previous subscription?
Any solutions ?”
Subscribing to another table in another block should not be an issue nor delete the previous subscription to a different table.
Hugo-OC
December 17, 2024, 9:54pm
4
Hi Joyce,
Thank you for your answer, of course here’s a video presenting the use case :
PS: Désolé pour mon anglais