Re: [Standards] Notification of lost membership of non participants in MUC

2016-05-17 Thread Kim Alvefur
On 2016-05-17 12:43, Daniel Gultsch wrote:
> thanks I missed that because the XEP doesn't mention it for members and
> neither ejabberd nor prosody actually do send those messages.

Latest Prosody trunk has an option for notifying non-present
participants about affiliation changes, but it's a headline message with
a body sent only to the participant.

-- 
Kim "Zash" Alvefur



signature.asc
Description: OpenPGP digital signature
___
Standards mailing list
Info: http://mail.jabber.org/mailman/listinfo/standards
Unsubscribe: standards-unsubscr...@xmpp.org
___


Re: [Standards] Notification of lost membership of non participants in MUC

2016-05-17 Thread Daniel Gultsch
Hi Christian

thanks I missed that because the XEP doesn't mention it for members and
neither ejabberd nor prosody actually do send those messages.

cheers
Daniel

2016-05-17 11:43 GMT+02:00 Christian Schudt :

> I think this is already covered by Example 195, isn't it? (and similarly
> 176, 190)
>
> -- Christian
>
> *Gesendet:* Dienstag, 17. Mai 2016 um 09:40 Uhr
> *Von:* "Daniel Gultsch" 
> *An:* "XMPP Standards" 
> *Betreff:* [Standards] Notification of lost membership of non
> participants in MUC
>
> I'm currently modifying my MUC code and try to show offline members in
> private, non anonymous conferences and I noticed that if I change the
> affiliation of a non participant. The other participants are not notified
> about this.
>
> The general behavior for affiliation changes for participants is that the
> server generates a presence from their full jid announcing the change. If
> the user is offline this presence is not generated.
>
> A quick fix for this would be to send the same presence but from the bare
> jid. (the jid attribute in the payload can still give the user away) (That
> is of course if the recipient is allowed to view the real jid (either
> because they are admin or because the room is non anonymous)
>
> Maybe if people think a presence is not the right stanza the same
> announcement could be made with a message.
>
> Cheers
> Daniel
> ___ Standards mailing list
> Info: http://mail.jabber.org/mailman/listinfo/standards Unsubscribe:
> standards-unsubscr...@xmpp.org
> ___
>
> ___
> Standards mailing list
> Info: http://mail.jabber.org/mailman/listinfo/standards
> Unsubscribe: standards-unsubscr...@xmpp.org
> ___
>
>
___
Standards mailing list
Info: http://mail.jabber.org/mailman/listinfo/standards
Unsubscribe: standards-unsubscr...@xmpp.org
___


Re: [Standards] Notification of lost membership of non participants in MUC

2016-05-17 Thread Christian Schudt

I think this is already covered by Example 195, isn't it? (and similarly 176, 190)

 

-- Christian


 


Gesendet: Dienstag, 17. Mai 2016 um 09:40 Uhr
Von: "Daniel Gultsch" 
An: "XMPP Standards" 
Betreff: [Standards] Notification of lost membership of non participants in MUC


I'm currently modifying my MUC code and try to show offline members in private, non anonymous conferences and I noticed that if I change the affiliation of a non participant. The other participants are not notified about this.

The general behavior for affiliation changes for participants is that the server generates a presence from their full jid announcing the change. If the user is offline this presence is not generated.

A quick fix for this would be to send the same presence but from the bare jid. (the jid attribute in the payload can still give the user away) (That is of course if the recipient is allowed to view the real jid (either because they are admin or because the room is non anonymous)

Maybe if people think a presence is not the right stanza the same announcement could be made with a message.

Cheers
Daniel
___ Standards mailing list Info: http://mail.jabber.org/mailman/listinfo/standards Unsubscribe: standards-unsubscr...@xmpp.org ___



___
Standards mailing list
Info: http://mail.jabber.org/mailman/listinfo/standards
Unsubscribe: standards-unsubscr...@xmpp.org
___


Re: [Standards] Notification of lost membership of non participants in MUC

2016-05-17 Thread Daniel Gultsch
2016-05-17 9:40 GMT+02:00 Daniel Gultsch :

> A quick fix for this would be to send the same presence but from the bare
> jid. (the jid attribute in the payload can still give the user away) (That
> is of course if the recipient is allowed to view the real jid (either
> because they are admin or because the room is non anonymous)
>
> Maybe if people think a presence is not the right stanza the same
> announcement could be made with a message.
>

Thinking about it it has to be message stanza because subsequent presences
from the rooms bare jid informing about the affiliation change would get
eaten by CSI.

I'm happy to create a PR for the MUC XEP if there is interest in that.

cheers
Daniel
___
Standards mailing list
Info: http://mail.jabber.org/mailman/listinfo/standards
Unsubscribe: standards-unsubscr...@xmpp.org
___