Skip to content

Commit

Permalink
XEP-0045: Improved wording of status code purpose
Browse files Browse the repository at this point in the history
Previously, the wording of the status code purpose incorrectly hinted that the user receiving the presence stanza with the status code is the user that is affected by the corresponding change. This is incorrect, as these status code are not only used in stanzas sent to the affected user. They are also used to inform remaining occupants of the room of the status change.
  • Loading branch information
guusdk authored Aug 23, 2024
1 parent 4677fc1 commit 88f616e
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions xep-0045.xml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
<ul>
<li>Remove references to using resourceparts when banning users.</li>
<li>Explicitly disallow Ban List modifications that clash with 'Banning a User' conditions.</li>
<li>Status code purpose no longer hints that recipient is the affected user</li>
</ul>
</remark>
</revision>
Expand Down Expand Up @@ -5559,7 +5560,7 @@
<stanza>presence</stanza>
<context>Removal from room</context>
<purpose>
Inform user that he or she has been banned from the room
A user has been banned from the room
</purpose>
</statuscode>
<statuscode>
Expand All @@ -5575,15 +5576,15 @@
<stanza>presence</stanza>
<context>Removal from room</context>
<purpose>
Inform user that he or she has been kicked from the room
A user has been kicked from the room
</purpose>
</statuscode>
<statuscode>
<number>321</number>
<stanza>presence</stanza>
<context>Removal from room</context>
<purpose>
Inform user that he or she is being removed from the room
A user is being removed from the room
because of an affiliation change
</purpose>
</statuscode>
Expand All @@ -5592,7 +5593,7 @@
<stanza>presence</stanza>
<context>Removal from room</context>
<purpose>
Inform user that he or she is being removed from the room
A user is being removed from the room
because the room has been changed to members-only and the
user is not a member
</purpose>
Expand All @@ -5602,7 +5603,7 @@
<stanza>presence</stanza>
<context>Removal from room</context>
<purpose>
Inform user that he or she is being removed from the room
A user is being removed from the room
because the MUC service is being shut down
</purpose>
</statuscode>
Expand All @@ -5611,7 +5612,7 @@
<stanza>presence</stanza>
<context>Removal from room</context>
<purpose>
Inform users that a user was removed because of an error reply (for example
A user was removed because of an error reply (for example
when an s2s link fails between the MUC and the removed users server).
</purpose>
</statuscode>
Expand Down

0 comments on commit 88f616e

Please sign in to comment.