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}]
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} ]