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

How to check user successfully joined in chat room or not? #5

Open
npadhy opened this issue Nov 15, 2017 · 1 comment
Open

How to check user successfully joined in chat room or not? #5

npadhy opened this issue Nov 15, 2017 · 1 comment

Comments

@npadhy
Copy link

npadhy commented Nov 15, 2017

Most of the time I am able to join the chatroom and also able to send & receive the messages from room. But in some rare cases I am unable to join room due to some issues.

Is there any chat room join callback (Success/Error) available, so that I can check whether user successfully joined to chat room or not. So that I can initiate the rejoin operation?

Any Help Appreciated!

@npadhy npadhy changed the title How to check user joined in chat room or no? How to check user joined in chat room or not? Nov 15, 2017
@npadhy npadhy changed the title How to check user joined in chat room or not? How to check user successfully joined in chat room or not? Nov 15, 2017
@jcbrand
Copy link
Contributor

jcbrand commented Nov 21, 2017

I don't use this plugin. However, I think the way to check whether you've entered a room is to listen for the relevant <presence> stanza from the room. You might have to do it manually.

See here: https://xmpp.org/extensions/xep-0045.html#enter-muc

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

2 participants