aboutsummaryrefslogtreecommitdiffstats
path: root/otr.c
diff options
context:
space:
mode:
Diffstat (limited to 'otr.c')
-rw-r--r--otr.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/otr.c b/otr.c
index 15f4225a..460dcda0 100644
--- a/otr.c
+++ b/otr.c
@@ -1421,11 +1421,18 @@ void show_general_otr_info(irc_t *irc)
if(hash) /* should always succeed */
irc_usermsg(irc, " %s", human);
}
+ if(irc->otr->sent_accountname) {
+ irc_usermsg(irc, " %s/%s - DSA", irc->otr->sent_accountname,
+ irc->otr->sent_protocol);
+ irc_usermsg(irc, " (being generated)");
+ }
for(kg=irc->otr->todo; kg; kg=kg->next) {
irc_usermsg(irc, " %s/%s - DSA", kg->accountname, kg->protocol);
- irc_usermsg(irc, " (being generated)");
+ irc_usermsg(irc, " (queued)");
}
- if(key == irc->otr->us->privkey_root && kg == irc->otr->todo)
+ if(key == irc->otr->us->privkey_root &&
+ !irc->otr->sent_accountname &&
+ kg == irc->otr->todo)
irc_usermsg(irc, " (none)");
/* list all contexts */