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 /src/omemo/omemo.h | |
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 'src/omemo/omemo.h')
-rw-r--r-- | src/omemo/omemo.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/omemo/omemo.h b/src/omemo/omemo.h index 7e7c1f14..624bec51 100644 --- a/src/omemo/omemo.h +++ b/src/omemo/omemo.h @@ -105,3 +105,5 @@ char* omemo_encrypt_file(FILE* in, FILE* out, off_t file_size, int* gcry_res); gcry_error_t omemo_decrypt_file(FILE* in, FILE* out, off_t file_size, const char* fragment); void omemo_free(void* a); int omemo_parse_aesgcm_url(const char* aesgcm_url, char** https_url, char** fragment); + +char* omemo_qrcode_str(); |