mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-18 19:46:22 +00:00
Use our omemo sid/fingerprint in qr code
Current clients sid/fingerprint will be shown in following format: `xmpp:<user@server>?omemo-sid-<numerical-sid>=<omemo-fingerprint-hex-string>` Fix https://github.com/profanity-im/profanity/issues/1320
This commit is contained in:
@@ -9049,8 +9049,10 @@ cmd_omemo_qrcode(ProfWin* window, const char* const command, gchar** args)
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
char* fingerprint = omemo_own_fingerprint(TRUE);
|
||||
cons_show_omemo_qrcode(fingerprint);
|
||||
char* qrstr = omemo_qrcode_str();
|
||||
cons_show_qrcode(qrstr);
|
||||
free(qrstr);
|
||||
|
||||
return TRUE;
|
||||
#else
|
||||
cons_show("This version of Profanity has not been built with OMEMO support enabled");
|
||||
|
||||
Reference in New Issue
Block a user