tigase / tigase-muc

Tigase Multi-User Chat Component
https://tigase.net
GNU Affero General Public License v3.0
5 stars 7 forks source link

Invalid MUC Presence #2

Open lovetox opened 4 years ago

lovetox commented 4 years ago

Describe the bug

<presence to="lovetox@jabber.fr/gajim.UMT9TQO0" from="tigase@muc.tigase.org/xxx" id="65b66d5d-d646-4381-86d0-7e01c474992f" xml:lang="en">
   <c xmlns="http://jabber.org/protocol/caps" hash="sha-1" node="https://dino.im" ver="Wox05fElZ+gPYdJrEiHVC4oPlUw=" />
   <x xmlns="vcard-temp:x:update">
      <photo>22aa40b3050c4d295597d8fdedffc5f2e504de11</photo>
   </x>
   <x xmlns="http://jabber.org/protocol/muc#user">
      <item role="none" affiliation="none" nick="xxx" />
   </x>
</presence>

To Reproduce Steps to reproduce the behavior:

  1. join tigase@muc.tigase.org
  2. wait until you receive this stanza

Expected behavior XEP0045 says role=none means the user is not present in the room. But this presence has no type=unavailable, so it contradicts the rule and this user is present in the room

hantu85 commented 4 years ago

This issue was related to joining with multiple clients/resources to the same room under the same nickname. The issue is now solved and will be deployed on tigase.org during the next upgrade of the installation.

Neustradamus commented 11 months ago

@lovetox it has been solved?