1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-10-27 20:30:13 -04:00

Show all device fingerprint for current account

This commit is contained in:
Paul Fariello 2019-03-26 22:24:26 +01:00
parent ba9679a706
commit 4a1c3c8c1e

View File

@ -8086,7 +8086,7 @@ cmd_omemo_fingerprint(ProfWin *window, const char *const command, gchar **args)
char *fingerprint = omemo_own_fingerprint(TRUE); char *fingerprint = omemo_own_fingerprint(TRUE);
cons_show("Your OMEMO fingerprint: %s", fingerprint); cons_show("Your OMEMO fingerprint: %s", fingerprint);
free(fingerprint); free(fingerprint);
return TRUE; jid = jid_create(connection_get_fulljid());
} else if (window->type == WIN_CHAT) { } else if (window->type == WIN_CHAT) {
ProfChatWin *chatwin = (ProfChatWin*)window; ProfChatWin *chatwin = (ProfChatWin*)window;
jid = jid_create(chatwin->barejid); jid = jid_create(chatwin->barejid);