wojciech.kapcia@tigase.net opened 2 years ago
|
|
Complete payload:
|
|
The NPE is thrown as it was unexpected to receive presence directed to the component JID with just added resource. Those should only be directed to the channel JID ie. @wojtek Should we assume someone wants to "logout" from all rooms and do so? or should we just return |
|
Considering https://xmpp.org/extensions/xep-0403.html#usecase-user-offline and https://xmpp.org/extensions/xep-0405.html#usecase-user-presence I would say this is an error on user part (adding mix component to roster). From my understanding of presence in case of MIX (additional capability, not explicit) I would say this is an error and should be treated as such with |
|
Actually, this error was thrown from MUC <-> MIX integration, but even in case of MUC it is not possible to join or leave by sending |
|
I've created a pull request with my changes. Those should fix our problem with presences set to jid without localpart, but I've also included a verification if channel jid always has localpart (as in another case it would trigger NPE anyway). That should at least make it more readable error than plain NPE. |
|
Looks ok, merged |
Type |
Bug
|
Priority |
Normal
|
Assignee | |
Version |
tigase-server-8.3.0
|