about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
Diffstat (limited to 'src/command')
-rw-r--r--src/command/commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index 7167e26d..e2323ce6 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -4337,8 +4337,8 @@ cmd_pgp(ProfWin *window, const char * const command, gchar **args)
         }
 
         ProfAccount *account = accounts_get_account(jabber_get_account_name());
-        if (!account->pgp_keyid) {
-            ui_current_print_formatted_line('!', 0, "You must specify a PGP key ID for this account to start PGP encryption.");
+        if (!p_gpg_valid_key(account->pgp_keyid)) {
+            ui_current_print_formatted_line('!', 0, "You must specify a valid PGP key ID for this account to start PGP encryption.");
             account_free(account);
             return TRUE;
         }
12-08-06 06:32:04 +0200 committer hut <hut@lavabit.com> 2012-08-06 06:39:26 +0200 added the examples from the man page to the examples directory' href='/akspecs/ranger/commit/examples/rifle_sxiv.sh?h=v1.9.1&id=796074b541aaca459c594fe517c11d275778eef6'>796074b5 ^
dcbc83fe ^
b53a97ed ^












dcbc83fe ^

baf1bafa ^
b53a97ed ^
baf1bafa ^




b53a97ed ^

bef8a8f8 ^
796074b5 ^
dcbc83fe ^

b53a97ed ^
62af2777 ^
dcbc83fe ^

796074b5 ^
dcbc83fe ^
796074b5 ^
dcbc83fe ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48