Hello,

On 2013-06-09 20:40, Mathieu Pasquet wrote:
> I was starting to implement carbons in poezio when I came across some
> kind of design issue that I haven’t been able to work out.
> 
> However, in the case of private MUC messages (XEP-0045, 7.5), the
> messages are also of type 'chat', causing them to be forwarded as normal
> chat messages. But the other resources are not necessarily present on
> that MUC, so they will receive the messages just fine, as with any
> direct conversation with a fulljid, but they won’t be able to reply,
> because I believe most MUC implementations will check the fulljid and
> reply with an error.

I would like to propose that the MUC server shall stamp something like
<x xmlns='http://jabber.org/protocol/muc#user'> on private messages
passing through, similar to what is already done to <presence>.

This would allow a Carbons implementation to treat those differently, eg
by not copying them to Carbons-interested resources, or a client
receiving a carbon copied message can indicate to the user that replying
won't be possible.

Aside: I also think this would be useful for message archives, to help
not record duplicated PMs if the user has joined a room from multiple
clients.

--
Kim "Zash" Alvefur

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to