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

Joining MUC does not work... #321

Open
myzinsky opened this issue Nov 9, 2020 · 5 comments
Open

Joining MUC does not work... #321

myzinsky opened this issue Nov 9, 2020 · 5 comments

Comments

@myzinsky
Copy link

myzinsky commented Nov 9, 2020

I'm joining a room like this:

auto room = xmpp->getMucManager()->addRoom("test@xxx.xxx");
room->setNickName("FooBar");
room->setPassword("fooBar");
room->join();

however it is not joining. The join functions returns false, however is isJoined() returns false and the nickname is set correctly. So the problem seams to be somehow related to the sent presence:

Mo. Nov. 9 22:55:16 2020 SENT <presence to="test@xxx.xxx/FooBar"><x xmlns="http://jabber.org/protocol/muc"><password>fooBar</password></x><c xmlns="http://jabber.org/protocol/caps" hash="sha-1" node="https://github.com/qxmpp-project/qxmpp" ver="CF0PqxtM9pj0Cz/BqjJTqkH605c="/></presence>

Any ideas what's going wrong?

@myzinsky
Copy link
Author

myzinsky commented Nov 9, 2020

Somehow the 'from' is missing, or?

@myzinsky
Copy link
Author

Any news on this?

@lnjX
Copy link
Member

lnjX commented Jan 23, 2021

The from is not missing, that's automatically added by the server.

@myzinsky
Copy link
Author

So what could be the problem then?

@lnjX
Copy link
Member

lnjX commented Jan 23, 2021

Sorry, I haven't used QXmpp's MUC implementation yet and I don't have much timer currently to test it. Unfortunately no idea. The only thing I can maybe ask is whether the MUC server returns anything?

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