1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-16 21:35:24 +00:00

Merge pull request #1913 from profanity-im/fix-omemo-fingerprint-crash

Fix `/omemo fingerprint` crashing in a MUC
This commit is contained in:
Michael Vetter 2023-11-06 19:39:25 +01:00 committed by GitHub
commit 716c068325
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8887,7 +8887,7 @@ cmd_omemo_fingerprint(ProfWin* window, const char* const command, gchar** args)
return TRUE;
}
auto_jid Jid* jid;
auto_jid Jid* jid = NULL;
if (!args[1]) {
if (window->type == WIN_CONSOLE) {
auto_char char* fingerprint = omemo_own_fingerprint(TRUE);