summary refs log tree commit diff
path: root/src/ChatPage.h
diff options
context:
space:
mode:
authorJoseph Donofry <joedonofry@gmail.com>2019-06-13 22:33:04 -0400
committerJoseph Donofry <joedonofry@gmail.com>2019-06-13 22:33:04 -0400
commit129beb57c9525439d04fc2bf74f4ccaed30369c9 (patch)
tree726c166c1a486a6f635cf62437caa63401a31470 /src/ChatPage.h
parentMerge branch '0.7.0-dev' of ssh://github.com/Nheko-Reborn/nheko into 0.7.0-dev (diff)
downloadnheko-129beb57c9525439d04fc2bf74f4ccaed30369c9.tar.xz
Further Improve Reply Functionality
Quoted replies now include matrix.to links for the event and the user.
UI Rendering has been (slightly) improved... still very WIP.
Restructured the reply structure in the code for future usability
improvements.
Diffstat (limited to 'src/ChatPage.h')
-rw-r--r--src/ChatPage.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ChatPage.h b/src/ChatPage.h
index f70f5bdd..6e6f5aed 100644
--- a/src/ChatPage.h
+++ b/src/ChatPage.h
@@ -30,6 +30,7 @@
 #include "Cache.h"
 #include "CommunitiesList.h"
 #include "MatrixClient.h"
+#include "Utils.h"
 #include "notifications/Manager.h"
 
 class OverlayModal;
@@ -83,9 +84,7 @@ signals:
         void connectionLost();
         void connectionRestored();
 
-        void messageReply(const QString &username,
-                          const QString &msg,
-                          const QString &related_event);
+        void messageReply(const RelatedInfo &related);
 
         void notificationsRetrieved(const mtx::responses::Notifications &);