mirror of
https://github.com/moparisthebest/xeps
synced 2025-02-07 02:40:22 -05:00
clarified subject change syntax
git-svn-id: file:///home/ksmith/gitmigration/svn/xmpp/trunk@1475 4b5297f7-1745-476d-ba37-a9c6900126ab
This commit is contained in:
parent
33f9f68ce5
commit
58f751a658
@ -2428,7 +2428,7 @@
|
||||
</ol>
|
||||
<p>These features shall be implemented with a request/response exchange using <iq/> elements that contain children qualified by the 'http://jabber.org/protocol/muc#admin' namespace. The examples below illustrate the protocol interactions to implement the desired functionality. (Except where explicitly noted below, any of the following administrative requests MUST be denied if the <user@host> of the 'from' address of the request does not match the bare JID portion of one of the moderators; in this case, the service MUST return a &forbidden; error.)</p>
|
||||
<section2 topic='Modifying the Room Subject' anchor='subject-mod'>
|
||||
<p>A common feature of multi-user chat rooms is the ability to change the subject within the room. By default, only users with a role of "moderator" SHOULD be allowed to change the subject in a room (although this SHOULD be configurable, with the result that a mere participant or even visitor may be allowed to change the subject if desired). The subject is changed by sending a message of type "groupchat" to the &ROOM;, containing no body but a <subject/> that specifies the new subject:</p>
|
||||
<p>A common feature of multi-user chat rooms is the ability to change the subject within the room. By default, only users with a role of "moderator" SHOULD be allowed to change the subject in a room (although this SHOULD be configurable, with the result that a mere participant or even visitor may be allowed to change the subject if desired). The subject is changed by sending a message of type "groupchat" to the &ROOM;, where the &MESSAGE; MUST contain a <subject/> element that specifies the new subject but SHOULD NOT contain any other element (e.g., no &BODY; element or &THREAD; element).</p>
|
||||
<example caption='Moderator Changes Subject'><![CDATA[
|
||||
<message
|
||||
from='wiccarocks@shakespeare.lit/laptop'
|
||||
|
Loading…
Reference in New Issue
Block a user