about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2022-05-31 17:17:54 +0200
committerGitHub <noreply@github.com>2022-05-31 17:17:54 +0200
commit2ea7ce415a6bc2a0b72bbe9b07a189a71f5378b1 (patch)
tree00a599cf7b6b5d5b159de8ba626c79f2564a0447 /src/ui
parent754c110a34bf608bee3990e5b626203699b879d2 (diff)
parent2e85f18cd61b358c8c654a90ef64cf80af5a33c6 (diff)
downloadprofani-tty-2ea7ce415a6bc2a0b72bbe9b07a189a71f5378b1.tar.gz
Merge pull request #1718 from profanity-im/feat/omemo-displ-qrcode
Use our omemo sid/fingerprint in qr code
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/console.c2
-rw-r--r--src/ui/ui.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/console.c b/src/ui/console.c
index 32575a15..37b2d377 100644
--- a/src/ui/console.c
+++ b/src/ui/console.c
@@ -867,7 +867,7 @@ cons_show_disco_contact_information(GHashTable* addresses)
 }
 
 void
-cons_show_omemo_qrcode(const char* const text)
+cons_show_qrcode(const char* const text)
 {
 #ifdef HAVE_QRENCODE
     static const size_t ZOOM_SIZE = 10;
diff --git a/src/ui/ui.h b/src/ui/ui.h
index 8615045a..a7886ab3 100644
--- a/src/ui/ui.h
+++ b/src/ui/ui.h
@@ -280,7 +280,7 @@ void cons_show_disco_info(const char* from, GSList* identities, GSList* features
 
 void cons_show_disco_contact_information(GHashTable* addresses);
 
-void cons_show_omemo_qrcode(const char* const text);
+void cons_show_qrcode();
 
 void cons_show_room_invite(const char* const invitor, const char* const room, const char* const reason);
 void cons_check_version(gboolean not_available_msg);