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:
Michael Vetter
2022-05-31 15:44:44 +02:00
parent 754c110a34
commit 2e85f18cd6
7 changed files with 33 additions and 5 deletions

View File

@@ -120,3 +120,9 @@ omemo_device_id()
{
return 123;
}
char*
omemo_qrcode_str()
{
return NULL;
}

View File

@@ -930,7 +930,7 @@ cons_show_disco_info(const char* from, GSList* identities, GSList* features)
}
void
cons_show_omemo_qrcode(const char* const text)
cons_show_qrcode(const char* const text)
{
}