Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MUC Room Roster broken after Strophe Reconnect #108

Open
bhelm opened this issue Jan 24, 2014 · 0 comments
Open

MUC Room Roster broken after Strophe Reconnect #108

bhelm opened this issue Jan 24, 2014 · 0 comments

Comments

@bhelm
Copy link

bhelm commented Jan 24, 2014

i Implented a reconnect feature and noticed that the roster is broken for newly joined rooms after the reconnect. i fixed it by setting

xmpp.muc._muc_handler = null;

after the disconnect / before the reconnect.
i guess its because the join method does check if the _muc_handler is defined and defines it if not, and it needs to be redefined after the reconnect.

please refactor to make it work after xmpp.disconnect() and xmpp.connect() again.

let me know if you need more explaination.

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

No branches or pull requests

1 participant