#680 MUC status code 100 is sent to all participants
Reporter
Zash
Owner
Zash
Created
Updated
Stars
★★★ (4)
Tags
Milestone-0.11
Compliance
Type-Defect
Status-Fixed
Priority-Medium
Zash
on
Please provide a snippet of the part of the specification which we violate
if possible:
If the user is entering a room that is non-anonymous (i.e., which informs all occupants of each occupant's full JID as shown above), the service MUST warn the user by including a status code of "100" in the initial presence that the room sends to the new occupant
Please provide a link to the specification:
http://xmpp.org/extensions/xep-0045.html#enter-nonanon
In trunk as of 6bf4c227c8f3, the status code is attached to the "base <x>" argument passed to the room:publicise_occupant_status method, which is then broadcasted to all participants. It sends different <x> to the occupant itself, but exposes no way to include specific status codes there.
Please provide a snippet of the part of the specification which we violate if possible: If the user is entering a room that is non-anonymous (i.e., which informs all occupants of each occupant's full JID as shown above), the service MUST warn the user by including a status code of "100" in the initial presence that the room sends to the new occupant Please provide a link to the specification: http://xmpp.org/extensions/xep-0045.html#enter-nonanon In trunk as of 6bf4c227c8f3, the status code is attached to the "base <x>" argument passed to the room:publicise_occupant_status method, which is then broadcasted to all participants. It sends different <x> to the occupant itself, but exposes no way to include specific status codes there.
Err, I mean trunk.
ChangesThis seems to generate spam in non-anonymous MUC rooms; see https://dev.gajim.org/gajim/gajim/issues/7052.
Hopefully fixed in https://hg.prosody.im/trunk/rev/ce461a67d2cc I can't say that I understand what the code changed there does, so please test the fix.
Changes