[Standards] MUC: Opt-out of presence broadcasting

Mickaël Rémond mremond at process-one.net
Wed Mar 9 09:37:16 UTC 2016


Hello,

On Wed, Mar 9, 2016 at 10:19 AM Tomasz Sterna <tomek at xiaoka.com> wrote:

> W dniu 29.02.2016, pon o godzinie 18∶30 +0100, użytkownik Fabian Beutel
> napisał:
> > When joining a room, the user could include some kind of flag in the
> > initial presence stanza that prevents the server from sending all the
> > other presences and goes straight to sending back the new occupants
> > presence (as confirmation for a successful join).
>
> This may be just a MUC server policy implemented on the room level.
> There is no need for client to be involved - existing clients would
> just-work if a MUC room works like you described.
>

Actually, you can already configure MUC rooms to not broadcast presence for
specific roles: muc#roomconfig_presencebroadcast

http://xmpp.org/extensions/xep-0045.html#example-165

You can possibly achieve what you need by limiting presence broadcast to
"moderators". In specific implementations, that list of options could
presumably handle different restriction to presence broadcast (like self
for example).
Own user presence is still broadcasted to self in all cases to acknowledge
join.

I hope this helps,

-- 
Mickaël Rémond
 http://www.process-one.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.jabber.org/pipermail/standards/attachments/20160309/de896d03/attachment.html>


More information about the Standards mailing list