Mercurial > ~mikael > mcabber > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
1064:516b5f7d1023 | 1065:230dca34dbea |
---|---|
1351 scr_WriteIncomingMessage(bjid, buffer, 0, HBB_PREFIX_NONE); | 1351 scr_WriteIncomingMessage(bjid, buffer, 0, HBB_PREFIX_NONE); |
1352 } | 1352 } |
1353 } | 1353 } |
1354 #endif | 1354 #endif |
1355 } | 1355 } |
1356 #ifdef HAVE_GPGME | |
1357 if (settings_pgp_getdisabled(bjid)) | |
1358 scr_WriteIncomingMessage(bjid, "PGP is disabled", 0, HBB_PREFIX_NONE); | |
1359 #endif | |
1356 } else { | 1360 } else { |
1357 if (name) scr_LogPrint(LPRINT_NORMAL, "Name: %s", name); | 1361 if (name) scr_LogPrint(LPRINT_NORMAL, "Name: %s", name); |
1358 scr_LogPrint(LPRINT_NORMAL, "Type: %s", | 1362 scr_LogPrint(LPRINT_NORMAL, "Type: %s", |
1359 type == ROSTER_TYPE_GROUP ? "group" : | 1363 type == ROSTER_TYPE_GROUP ? "group" : |
1360 (type == ROSTER_TYPE_SPECIAL ? "special" : "unknown")); | 1364 (type == ROSTER_TYPE_SPECIAL ? "special" : "unknown")); |