summary refs log tree commit diff
path: root/src/ChatPage.h
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-12-17 05:53:34 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-12-17 05:58:09 +0100
commit09aded2bc8b447915511b26ebe71eab6ec98585a (patch)
tree5e99c631f9c6f5b7d37a8fec1fb61f58b4b141b6 /src/ChatPage.h
parentTranslated using Weblate (French) (diff)
downloadnheko-09aded2bc8b447915511b26ebe71eab6ec98585a.tar.xz
Fix crash when receiving matrix uri
It seems like handling the message in a blocking manner is a no-go. I
have no idea how to fix that, so just use a queued connection for now...
(ASAN does not cooperate and just hides the crash D:)

fixes #842
Diffstat (limited to 'src/ChatPage.h')
-rw-r--r--src/ChatPage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ChatPage.h b/src/ChatPage.h
index c572f94b..31765356 100644
--- a/src/ChatPage.h
+++ b/src/ChatPage.h
@@ -78,7 +78,7 @@ public:
     QString currentRoom() const;
 
 public slots:
-    bool handleMatrixUri(const QByteArray &uri);
+    bool handleMatrixUri(QString uri);
     bool handleMatrixUri(const QUrl &uri);
 
     void startChat(QString userid);