qxmpp icon indicating copy to clipboard operation
qxmpp copied to clipboard

Joining MUC does not work...

Open myzinsky opened this issue 5 years ago • 5 comments
trafficstars

I'm joining a room like this:

auto room = xmpp->getMucManager()->addRoom("[email protected]");
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="[email protected]/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 avatar Nov 09 '20 22:11 myzinsky

Somehow the 'from' is missing, or?

myzinsky avatar Nov 09 '20 22:11 myzinsky

Any news on this?

myzinsky avatar Jan 18 '21 23:01 myzinsky

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

lnjX avatar Jan 23 '21 15:01 lnjX

So what could be the problem then?

myzinsky avatar Jan 23 '21 15:01 myzinsky

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?

lnjX avatar Jan 23 '21 20:01 lnjX