Comment 4 for bug 432076

Revision history for this message
buzzdee (sebastia) wrote :

After hours of debugging, and trying to find out, where the problem is I found the problem, and a very very ugly solution:

When entering an XMPP MUC room, then the presence stanza contains an id= attribute, which is missing when there are presence stanzas sent from the IRC transport. Therefore in jabberlib.tcl jlib::presence_handler, coccinella is unable to find the callback function based on an ID.

My solution (as said, very very ugly), is to check the namespace, when it matches http://jabber.org/protocol/muc#user, then I hardcode the usage of : [list ::jlib::muc::parse_enter {::Enter::MUCCallback ::Enter::HardCoded}]