[ejabberd] MUC handling of non-groupchat messages

Peter Saint-Andre stpeter at stpeter.im
Wed Jan 9 19:51:47 MSK 2008


Badlop wrote:
> 2008/1/9, Peter Saint-Andre <stpeter at stpeter.im>:
>> Badlop wrote:
>>> In that case, Type should be 'chat', and From should be the user's
>>> JID, not the room participant JID, right? Better something like:
>> Correct, the client sends with no 'from' address so it's stamped by the
>> server.
> 
> And Type should be 'chat', right?

That's not necessary. It could be "normal" (or no 'type' attribute, 
which is implicitly "normal").

>>> I'm checking with Textshell if my proposed patch is enough to fix this problem.
>> OK thanks.
> 
> He tried the patch and seems good.
> It's now in SVN, and will be included in ejabberd 2.0.0.

Super.

>>> BTW, this bug is tracked here:
>>> MUC kicks a participant if sends a private message with type=error
>>> https://support.process-one.net/browse/EJAB-496
>> Er, yes, I should have just reported the bug, right? My bad. I'll try to
>> be better behaved in the future. :)
> 
> Well, I guess you prefered to ask first in the mailing
> list/forum/chatroom because you knew this problem would need some
> discussion to clarify it, and in fact it did :) Once the bug was
> clarified, it was easier to report in the bug tracker.

OK, thanks.

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/20080109/72775b4a/attachment.bin 


More information about the ejabberd mailing list