about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-11-09 20:57:26 +0000
committerJames Booth <boothj5@gmail.com>2015-11-09 20:57:26 +0000
commit4cbfb888141cf060608f213499672e0b2c56f331 (patch)
tree88e9c4866369e5212996e5c6f7b78617902e02f9 /src/command
parentb3737b225f35a04b34076ff1e581d44c959bd59e (diff)
downloadprofani-tty-4cbfb888141cf060608f213499672e0b2c56f331.tar.gz
Store current TLS certificate fingerpint in memory for reconnect
Diffstat (limited to 'src/command')
-rw-r--r--src/command/commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index 0331d691..cf7290ad 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -831,6 +831,7 @@ cmd_disconnect(ProfWin *window, const char *const command, gchar **args)
         roster_clear();
         muc_invites_clear();
         chat_sessions_clear();
+        tlscerts_clear_current();
         ui_disconnected();
 #ifdef HAVE_LIBGPGME
         p_gpg_on_disconnect();