mirror of
https://github.com/moparisthebest/xeps
synced 2025-02-17 15:40:30 -05:00
XEP-0045: respond to GC1.0 join with kick, thx Kev
This commit is contained in:
parent
45e050c9c6
commit
2408ea0373
15
xep-0045.xml
15
xep-0045.xml
@ -1904,6 +1904,21 @@
|
|||||||
from='hag66@shakespeare.lit/pda'
|
from='hag66@shakespeare.lit/pda'
|
||||||
id='ng91xs69'
|
id='ng91xs69'
|
||||||
to='coven@chat.shakespeare.lit/thirdwitch'/>
|
to='coven@chat.shakespeare.lit/thirdwitch'/>
|
||||||
|
]]></example>
|
||||||
|
<p>This behavior can not be distinguished from a presence update from a MUC-supporting client that was desynchronized from the room. Treating this as a groupchat 1.0 join will mask the error and leave the client in a partially-synchronized state. Therefore, starting with version 1.32 of this specification, it is RECOMMENDED that a service receiving a <presence> without an <x> element responds with an explicit kick to that client.</p>
|
||||||
|
<example caption='Service Response to groupchat 1.0 join / non-occupant presence update'><![CDATA[
|
||||||
|
<presence
|
||||||
|
from='coven@chat.shakespeare.lit/thirdwitch'
|
||||||
|
to='hag66@shakespeare.lit/pda'
|
||||||
|
type='unavailable'>
|
||||||
|
<x xmlns='http://jabber.org/protocol/muc#user'>
|
||||||
|
<item affiliation='none' role='none'>
|
||||||
|
<reason>You are not in the room.</reason>
|
||||||
|
</item>
|
||||||
|
<status code='110'/>
|
||||||
|
<status code='307'/>
|
||||||
|
</x>
|
||||||
|
</presence>
|
||||||
]]></example>
|
]]></example>
|
||||||
</section3>
|
</section3>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user