summary refs log tree commit diff
path: root/src/ChatPage.h
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2021-01-10 18:36:06 +0100
committerNicolas Werner <nicolas.werner@hotmail.de>2021-01-10 22:41:56 +0100
commit39f9b7d90adbdbc9eb6186d93bb6bfd0564c152c (patch)
tree600a18ee72fe9e1e2a508ff8c11673ae5a6250ed /src/ChatPage.h
parentFix some nulls in relations (diff)
downloadnheko-39f9b7d90adbdbc9eb6186d93bb6bfd0564c152c.tar.xz
Handle matrix scheme
Link opening only works on Linux for now.

See https://github.com/matrix-org/matrix-doc/pull/2312
Diffstat (limited to 'src/ChatPage.h')
-rw-r--r--src/ChatPage.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ChatPage.h b/src/ChatPage.h
index 45a4ff63..004bb3e8 100644
--- a/src/ChatPage.h
+++ b/src/ChatPage.h
@@ -110,6 +110,10 @@ public:
         mtx::presence::PresenceState currentPresence() const;
 
 public slots:
+        void handleMatrixUri(const QByteArray &uri);
+        void handleMatrixUri(const QUrl &uri);
+
+        void startChat(QString userid);
         void leaveRoom(const QString &room_id);
         void createRoom(const mtx::requests::CreateRoom &req);
         void joinRoom(const QString &room);