mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-27 09:06:21 +00:00
Show OTR status on /msg usr when usr has already started an OTR session
fixes #308
This commit is contained in:
@@ -1066,6 +1066,11 @@ cmd_msg(gchar **args, struct cmd_help_t help)
|
|||||||
}
|
}
|
||||||
|
|
||||||
ui_new_chat_win(usr_jid);
|
ui_new_chat_win(usr_jid);
|
||||||
|
#ifdef HAVE_LIBOTR
|
||||||
|
if (otr_is_secure(jid)) {
|
||||||
|
ui_gone_secure(jid, otr_is_trusted(jid));
|
||||||
|
}
|
||||||
|
#endif
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user