[jdev] Why is my jabber server kicking out a remote useron anerror?
Peter Saint-Andre
stpeter at stpeter.im
Wed Feb 20 15:07:55 CST 2008
Tom Kalafut wrote:
> Oops. I did use error code not_acceptable, so it's not that. It's
> apparently kicking out the user that sent an iq stanza of type error
> (any code).
>
> I think I understand now. Apparently, ejabberd is kicking out the
> user in the Line 294 check because the 'to' is a chatroom JID, no
> matter what the stanza is. And the Line 294 check is not going away,
> right? So I think I'm stuck.
>
> I think I may have to just return a message and append some "ERROR"
> text to the body. Everybody on the local side of the chat room will
> receive the error like a normal message. Any other ideas?
Ick, no. That's just wrong. You should be able to do this (e.g., what if
you requested someone's vCard or sent an entity time request through the
MUC and the other side returned and error -- you wouldn't expect to be
kicked, would you?). Please ask about this bug on the ejabberd list:
http://lists.jabber.ru/mailman/listinfo/ejabberd
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: <https://www.jabber.org/jdev/attachments/20080220/4ec389e3/attachment-0002.bin>
More information about the JDev
mailing list