[Standards] MUC History clearing

Peter Saint-Andre stpeter at stpeter.im
Thu May 8 20:12:05 UTC 2008


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="user1 at server to="mtgroom_1 at conference.server" type="set"><query
> xmlns="http://jabber.org/protocol/muc#owner"><clear_history/></query></i
> q>
> 
> RECV: <iq  xmlns="jabber:client" id="clearHistory_xTu97"
> to="user1 at server" type="result"/>
> 
> 
> A notification to users would be sent in the same fashion as room
> configuration changes.
> 
> 
> RECV: <message from='darkcave at macbeth.shakespeare.lit' to='user2 at server'
> 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/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7338 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://mail.jabber.org/pipermail/standards/attachments/20080508/ed62177a/attachment.bin>


More information about the Standards mailing list