Nothing is better than a corner case hidden inside of a corner case.

* Georg Lukas <ge...@op-co.de> [2015-05-05 16:35]:
> 4. Carbons of MUC private messages. If user@host/A has joined to a MUC
> and receives a private message from muc@domain/participant, that message
> is carbon-copied to the other resource user@host/B (not joined to the
> MUC). Now /B has no way to know that it is a PM from a MUC, and not a
> regular message from a user muc@domain, using resource /participant, and
> is utterly confused.
> 
> One possible workaround would be to mark all MUC PMs, like it is done by
> prosody: http://hg.prosody.im/trunk/rev/09151d26560a

Both prosody and ejabberd MUC implementations now mark PMs with an
<x http://jabber.org/protocol/muc#user> element, and the respective
carbon implementations filter away duplicates, which is good.

Unfortunately, this logic also affects MUC invitations, as these also
have the same <x> element. However, invitations should be delivered to
all clients. Therefore, if you are implementing an XMPP server with
carbons support, please fix your MUC PM suppression logic.

Related: https://prosody.im/issues/issue/744


Georg
-- 
|| http://op-co.de ++  GCS d--(++) s: a C+++ UL+++ !P L+++ !E W+++ N  ++
|| gpg: 0x962FD2DE ||  o? K- w---() O M V? PS+ PE-- Y++ PGP+ t+ 5 R+  ||
|| Ge0rG: euIRCnet ||  X(+++) tv+ b+(++) DI+++ D- G e++++ h- r++ y?   ||
++ IRCnet OFTC OPN ||_________________________________________________||

Attachment: signature.asc
Description: Digital signature

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

Reply via email to