diff options
author | Jedi18 <targetakhil@gmail.com> | 2021-02-23 00:18:31 +0530 |
---|---|---|
committer | Jedi18 <targetakhil@gmail.com> | 2021-02-23 00:18:31 +0530 |
commit | b1dec6f6acec929495f66ef7d0fcb3cac9ee25e3 (patch) | |
tree | 835ae4d880c4eda53fe1d6f26b25c11f51ec72c7 /src/timeline | |
parent | selecting room in quickswitcher now works, added completionSelected signal (diff) | |
download | nheko-b1dec6f6acec929495f66ef7d0fcb3cac9ee25e3.tar.xz |
enter key now works, fix room highlighting and add overlay
Diffstat (limited to 'src/timeline')
-rw-r--r-- | src/timeline/TimelineViewManager.cpp | 6 | ||||
-rw-r--r-- | src/timeline/TimelineViewManager.h | 1 |
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); |