summary refs log tree commit diff
path: root/src/timeline
diff options
context:
space:
mode:
authorJedi18 <targetakhil@gmail.com>2021-02-23 00:18:31 +0530
committerJedi18 <targetakhil@gmail.com>2021-02-23 00:18:31 +0530
commitb1dec6f6acec929495f66ef7d0fcb3cac9ee25e3 (patch)
tree835ae4d880c4eda53fe1d6f26b25c11f51ec72c7 /src/timeline
parentselecting room in quickswitcher now works, added completionSelected signal (diff)
downloadnheko-b1dec6f6acec929495f66ef7d0fcb3cac9ee25e3.tar.xz
enter key now works, fix room highlighting and add overlay
Diffstat (limited to 'src/timeline')
-rw-r--r--src/timeline/TimelineViewManager.cpp6
-rw-r--r--src/timeline/TimelineViewManager.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/src/timeline/TimelineViewManager.cpp b/src/timeline/TimelineViewManager.cpp
index 74d416bb..49072ef4 100644
--- a/src/timeline/TimelineViewManager.cpp
+++ b/src/timeline/TimelineViewManager.cpp
@@ -333,6 +333,12 @@ TimelineViewManager::setHistoryView(const QString &room_id)
         }
 }
 
+void
+TimelineViewManager::highlightRoom(const QString &room_id)
+{
+        ChatPage::instance()->highlightRoom(room_id);
+}
+
 QString
 TimelineViewManager::escapeEmoji(QString str) const
 {
diff --git a/src/timeline/TimelineViewManager.h b/src/timeline/TimelineViewManager.h
index d6383806..dfc2e386 100644
--- a/src/timeline/TimelineViewManager.h
+++ b/src/timeline/TimelineViewManager.h
@@ -100,6 +100,7 @@ public slots:
         }
 
         void setHistoryView(const QString &room_id);
+        void highlightRoom(const QString &room_id);
         TimelineModel *getHistoryView(const QString &room_id)
         {
                 auto room = models.find(room_id);