[ejabberd] MUC handling of non-groupchat messages

Peter Saint-Andre stpeter at stpeter.im
Tue Jan 8 02:46:08 MSK 2008


Sergei Golovan wrote:
> On 1/8/08, Peter Saint-Andre <stpeter at stpeter.im> wrote:
>> Well Section 7.9 of XEP-0045 says:
>>
>>    a service MAY ignore or reject messages that do not have a
>>    type of "groupchat"
>>
>> So that would seem to allow the component to ignore or reject the
>> message, but I think that rule was intended to disallow messages of type
>> "normal" or "chat" or "headline", not to break error handling.
> 
> Oops. I misread the first message. If it's sent to room JID then it's
> better to ignore it and not to deliver ro all occupants. But certainly
> not disconnect the user.

Right, I think these were private messages. Don't send it to the room, 
certainly. Send it to the intended roomjid, probably. Remove the user, 
no. :)

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://lists.jabber.ru/pipermail/ejabberd/attachments/20080107/055efc84/attachment.bin 


More information about the ejabberd mailing list