On 05/08/2008 7:14 AM, Lirette, Keith J. CONTR J9C618 wrote:
> I would like to suggest an addition to XEP-0045 to allow for clearing of
> history in a MUC room.
> 
> There are numerous use cases where this would be useful: after changing
> the room topic, prior to starting a new discussion in an existing room,
> prior to adding new members to a room, ....
> 
> I suggest adding the functionality to the muc#owner schema.
> 
> SEND: <iq  xmlns="jabber:client" id="clearHistory_xTu97"
> from="[EMAIL PROTECTED] to="[EMAIL PROTECTED]" type="set"><query
> xmlns="http://jabber.org/protocol/muc#owner";><clear_history/></query></i
> q>
> 
> RECV: <iq  xmlns="jabber:client" id="clearHistory_xTu97"
> to="[EMAIL PROTECTED]" type="result"/>
> 
> 
> A notification to users would be sent in the same fashion as room
> configuration changes.
> 
> 
> RECV: <message from='[EMAIL PROTECTED]' to='[EMAIL PROTECTED]'
> type='groupchat'>
>               <x xmlns='http://jabber.org/protocol/muc#user'>
>                       <status code='175'/>
>               </x>
>       </message>

Something along those lines seems reasonable -- basically a "clear"
command. I'll try to work that into the next version of the spec (the
security considerations need to be updated to address a number of
attacks we've become aware of over the last few months).

Peter

-- 
Peter Saint-Andre
https://stpeter.im/

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to