qxmpp
qxmpp copied to clipboard
Joining MUC does not work...
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?
Somehow the 'from' is missing, or?
Any news on this?
The from is not missing, that's automatically added by the server.
So what could be the problem then?
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?