diff -r 52cfe9bf9840 -r 96be69d3a5fd mcabber/src/jabglue.c --- a/mcabber/src/jabglue.c Sun Nov 26 17:12:34 2006 +0100 +++ b/mcabber/src/jabglue.c Sun Nov 26 18:05:31 2006 +0100 @@ -1440,7 +1440,7 @@ gpgme_sigsum_t sigsum; // All parameters must be valid - if (!(xmldata && barejid && rname && text && *text)) + if (!(xmldata && barejid && rname && text)) return; if (!gpg_enabled()) @@ -2050,6 +2050,8 @@ (!ustmsg && m && m[0]) || (ustmsg && (!m || strcmp(ustmsg, m)))) hk_statuschange(r, rname, bpprio, timestamp, ust, ustmsg); // Presence signature processing + if (!ustmsg) + ustmsg = ""; // Some clients omit the element :-( check_signature(r, rname, xml_get_xmlns(xmldata, NS_SIGNED), ustmsg); }