Skip to content

Conversation

@byildiz
Copy link

@byildiz byildiz commented Apr 16, 2023

When auto_sub is true and auth_endpoint is given, pysher tries to resubscribe the channels after a reconnection but since the socket_id is renewed after a reconnection the old auth tokens used to subscribe the private and presence channels are invalid. This commit fixes that problem by first saving the auth variable in the corresponding channel object and using it in reconnection handler.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant