Skip to content

Commit

Permalink
Fix /omemo fingerprint crashing in a MUC
Browse files Browse the repository at this point in the history
Reported by a user in the profanity MUC.

Signed-off-by: Steffen Jaeckel <[email protected]>
  • Loading branch information
sjaeckel committed Nov 6, 2023
1 parent 83fdd9b commit 0b2b276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/command/cmd_funcs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0b2b276

Please sign in to comment.