Skip to content

Fix realtime channel close, reopen channels with active subscriptions

Fabio Alessandrelli requested to merge fales/w4gd:fix/realtime_channels into main

Realtime kept spamming close requests when no subscriptions were left for a topic.

It now only send one close request and waits for the server to acknowledge it.

Additionally, if a channel is closed by the remote, but still has active subscriptions, it will try to reopen it. This helps e.g. when changing users.

Realtime will still refuse to add subscriptions to closing or closed channels, changing that is a bit more involved.

Merge request reports