diff mcabber/src/commands.c @ 1065:230dca34dbea

Extand pgp_data structure Extand pgp_data structure so that we can disbale PGP per contact and compare the signature key with a reference key id.
author Mikael Berthe <mikael@lilotux.net>
date Sat, 02 Dec 2006 11:13:40 +0100
parents 516b5f7d1023
children 6de60e142372
line wrap: on
line diff
--- a/mcabber/src/commands.c	Fri Dec 01 23:50:52 2006 +0100
+++ b/mcabber/src/commands.c	Sat Dec 02 11:13:40 2006 +0100
@@ -1353,6 +1353,10 @@
       }
 #endif
     }
+#ifdef HAVE_GPGME
+    if (settings_pgp_getdisabled(bjid))
+      scr_WriteIncomingMessage(bjid, "PGP is disabled", 0, HBB_PREFIX_NONE);
+#endif
   } else {
     if (name) scr_LogPrint(LPRINT_NORMAL, "Name: %s", name);
     scr_LogPrint(LPRINT_NORMAL, "Type: %s",