Skip to content

Commit b10fc11

Browse files
sidtuladhargrdsdev
authored andcommitted
fix: correct payload during channel connection
1 parent 3257fec commit b10fc11

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

realtime/_async/client.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,8 @@ async def _listen(self) -> None:
101101
if self.auto_reconnect:
102102
logger.info("Connection with server closed, trying to reconnect...")
103103
await self.connect()
104-
if self.access_token:
105-
await self.set_auth(self.access_token)
106104
for topic, channel in self.channels.items():
107-
await channel.join()
105+
await channel._rejoin()
108106
else:
109107
logger.exception("Connection with the server closed.")
110108
break

0 commit comments

Comments
 (0)