mcabber/src/jabglue.c
changeset 1306 a7d21918234c
parent 1305 9bc68473f8a3
child 1310 a5336c44d4e2
equal deleted inserted replaced
1305:9bc68473f8a3 1306:a7d21918234c
   651 #endif // HAVE_GPGME
   651 #endif // HAVE_GPGME
   652 
   652 
   653   g_free(barejid);
   653   g_free(barejid);
   654 #endif // HAVE_GPGME || defined JEP0022 || defined JEP0085
   654 #endif // HAVE_GPGME || defined JEP0022 || defined JEP0085
   655 
   655 
   656   x = jutil_msgnew(strtype, (char*)fjid, NULL,
   656   x = jutil_msgnew((char*)strtype, (char*)fjid, NULL,
   657                    (enc ? "This message is PGP-encrypted." : (char*)text));
   657                    (enc ? "This message is PGP-encrypted." : (char*)text));
   658   if (subject) {
   658   if (subject) {
   659     xmlnode y;
   659     xmlnode y;
   660     y = xmlnode_insert_tag(x, "subject");
   660     y = xmlnode_insert_tag(x, "subject");
   661     xmlnode_insert_cdata(y, subject, (unsigned) -1);
   661     xmlnode_insert_cdata(y, subject, (unsigned) -1);