about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/otr.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/otr.c b/src/otr.c
index c8096167..bb48d1f0 100644
--- a/src/otr.c
+++ b/src/otr.c
@@ -249,6 +249,10 @@ otr_account_load(ProfAccount *account)
     }
     cons_debug("Loaded fingerprints");
 
+    char fingerprint[45];
+    otrl_privkey_fingerprint(user_state, fingerprint, jid, "xmpp");
+    cons_debug("Your fingerprint: %s", fingerprint);
+
     g_string_free(basedir, TRUE);
     g_string_free(keysfilename, TRUE);
     g_string_free(fpsfilename, TRUE);