diff options
author | Michael Vetter <jubalh@iodoru.org> | 2022-05-31 15:44:44 +0200 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2022-05-31 15:44:44 +0200 |
commit | 2e85f18cd61b358c8c654a90ef64cf80af5a33c6 (patch) | |
tree | 00a599cf7b6b5d5b159de8ba626c79f2564a0447 /tests/unittests | |
parent | 754c110a34bf608bee3990e5b626203699b879d2 (diff) | |
download | profani-tty-2e85f18cd61b358c8c654a90ef64cf80af5a33c6.tar.gz |
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
Diffstat (limited to 'tests/unittests')
-rw-r--r-- | tests/unittests/omemo/stub_omemo.c | 6 | ||||
-rw-r--r-- | tests/unittests/ui/stub_ui.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/tests/unittests/omemo/stub_omemo.c b/tests/unittests/omemo/stub_omemo.c index f7c60190..0336e1a3 100644 --- a/tests/unittests/omemo/stub_omemo.c +++ b/tests/unittests/omemo/stub_omemo.c @@ -120,3 +120,9 @@ omemo_device_id() { return 123; } + +char* +omemo_qrcode_str() +{ + return NULL; +} diff --git a/tests/unittests/ui/stub_ui.c b/tests/unittests/ui/stub_ui.c index a1bb7d61..37323ba7 100644 --- a/tests/unittests/ui/stub_ui.c +++ b/tests/unittests/ui/stub_ui.c @@ -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) { } |