]> code.citadel.org Git - citadel.git/blobdiff - citadel/modules/jabber/serv_xmpp.c
* New session variable 'can_receive_im' which indicates that the session is running...
[citadel.git] / citadel / modules / jabber / serv_xmpp.c
index 94a81036bc2d61c58a26eedc94914e1e2f213e07..988efad2910221388a8b458ad871324db26853e9 100644 (file)
@@ -421,6 +421,8 @@ void xmpp_greeting(void) {
        XML_SetElementHandler(XMPP->xp, xmpp_xml_start, xmpp_xml_end);
        XML_SetCharacterDataHandler(XMPP->xp, xmpp_xml_chardata);
        // XML_SetUserData(XMPP->xp, something...);
+
+       CC->can_receive_im = 1;         /* This protocol is capable of receiving instant messages */
 }