1
0
mirror of https://github.com/moparisthebest/xeps synced 2025-03-11 06:50:01 -04:00

XEP-0045: Various bug fixes:

- Example 90 lacks status code 110 (self-presence)
- muc#roomconfig_allowpm is boolean, but should be list-single
- muc#roomconfig_allowinvites is list-single, but should be boolean
- Typo: Publish-Subcribe
- 15.6.2 Initial Submission: Status code 174 is missing.
- muc#role should be list-single
- muc#register_faqentry: mixed occurrences of text-single and text-multi
This commit is contained in:
Christian Schudt 2015-09-27 00:06:38 +02:00 committed by Sam Whited
parent 4f2ddd666a
commit 33d131a531

View File

@ -2563,7 +2563,7 @@
<value>http://jabber.org/protocol/muc#request</value> <value>http://jabber.org/protocol/muc#request</value>
</field> </field>
<field var='muc#role' <field var='muc#role'
type='text-single' type='list-single'
label='Requested role'> label='Requested role'>
<value>participant</value> <value>participant</value>
</field> </field>
@ -2739,6 +2739,7 @@
<actor nick='Fluellen'/> <actor nick='Fluellen'/>
<reason>Avaunt, you cullion!</reason> <reason>Avaunt, you cullion!</reason>
</item> </item>
<status code='110'/>
<status code='307'/> <status code='307'/>
</x> </x>
</presence> </presence>
@ -2985,7 +2986,7 @@
<value>http://jabber.org/protocol/muc#request</value> <value>http://jabber.org/protocol/muc#request</value>
</field> </field>
<field var='muc#role' <field var='muc#role'
type='text-single' type='list-single'
label='Requested role'> label='Requested role'>
<value>participant</value> <value>participant</value>
</field> </field>
@ -3647,7 +3648,7 @@
<value>hag66@witchesonline</value> <value>hag66@witchesonline</value>
</field> </field>
<field var='muc#register_faqentry' <field var='muc#register_faqentry'
type="text-single" type="text-multi"
label="FAQ Entry"> label="FAQ Entry">
<value>Just another witch.</value> <value>Just another witch.</value>
</field> </field>
@ -5038,7 +5039,7 @@
approval of such requests. approval of such requests.
</desc> </desc>
<field var='muc#role' <field var='muc#role'
type='text-single' type='list-single'
label='Requested role'/> label='Requested role'/>
<field var='muc#jid' <field var='muc#jid'
type='jid-single' type='jid-single'
@ -5068,11 +5069,11 @@
label='Maximum Number of History Messages Returned by Room'/> label='Maximum Number of History Messages Returned by Room'/>
<field <field
var='muc#roomconfig_allowpm' var='muc#roomconfig_allowpm'
type='boolean' type='list-single'
label='Roles that May Send Private Messages'/> label='Roles that May Send Private Messages'/>
<field <field
var='muc#roomconfig_allowinvites' var='muc#roomconfig_allowinvites'
type='list-single' type='boolean'
label='Whether to Allow Occupants to Invite Others'/> label='Whether to Allow Occupants to Invite Others'/>
<field <field
var='muc#roomconfig_changesubject' var='muc#roomconfig_changesubject'
@ -5093,7 +5094,7 @@
<field <field
var='muc#roomconfig_pubsub' var='muc#roomconfig_pubsub'
type='text-single' type='text-single'
label='XMPP URI of Associated Publish-Subcribe Node'/> label='XMPP URI of Associated Publish-Subscribe Node'/>
<field <field
var='muc#roomconfig_maxusers' var='muc#roomconfig_maxusers'
type='list-single' type='list-single'
@ -5315,6 +5316,14 @@
Inform occupants that the room is now semi-anonymous Inform occupants that the room is now semi-anonymous
</purpose> </purpose>
</statuscode> </statuscode>
<statuscode>
<number>174</number>
<stanza>message</stanza>
<context>Configuration change</context>
<purpose>
Inform occupants that the room is now fully-anonymous
</purpose>
</statuscode>
<statuscode> <statuscode>
<number>201</number> <number>201</number>
<stanza>presence</stanza> <stanza>presence</stanza>