mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-27 18:16:21 +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:
@@ -8887,7 +8887,7 @@ cmd_omemo_fingerprint(ProfWin* window, const char* const command, gchar** args)
|
|||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
auto_jid Jid* jid;
|
auto_jid Jid* jid = NULL;
|
||||||
if (!args[1]) {
|
if (!args[1]) {
|
||||||
if (window->type == WIN_CONSOLE) {
|
if (window->type == WIN_CONSOLE) {
|
||||||
auto_char char* fingerprint = omemo_own_fingerprint(TRUE);
|
auto_char char* fingerprint = omemo_own_fingerprint(TRUE);
|
||||||
|
|||||||
Reference in New Issue
Block a user