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/

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to