Skip to content

Commit 66db32e

Browse files
fix: send correct payload to channel on reconnect (#262)
* fix: add token authentication on reconnect * fix: correct payload during channel connection --------- Co-authored-by: Andrew Smith <[email protected]>
1 parent 0396c7b commit 66db32e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: realtime/_async/client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ async def _listen(self) -> None:
102102
logger.info("Connection with server closed, trying to reconnect...")
103103
await self.connect()
104104
for topic, channel in self.channels.items():
105-
await channel.join()
105+
await channel._rejoin()
106106
else:
107107
logger.exception("Connection with the server closed.")
108108
break

0 commit comments

Comments
 (0)