summary refs log tree commit diff
path: root/src/timeline
diff options
context:
space:
mode:
Diffstat (limited to 'src/timeline')
-rw-r--r--src/timeline/TimelineViewManager.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/timeline/TimelineViewManager.h b/src/timeline/TimelineViewManager.h

index 8552d6b3..625999c9 100644 --- a/src/timeline/TimelineViewManager.h +++ b/src/timeline/TimelineViewManager.h
@@ -47,6 +47,7 @@ signals: void activeTimelineChanged(TimelineModel *timeline); void initialSyncChanged(bool isInitialSync); void replyingEventChanged(QString replyingEvent); + void replyClosed(); public slots: void updateReplyingEvent(const QString &replyingEvent) @@ -56,6 +57,11 @@ public slots: emit replyingEventChanged(replyingEvent_); } } + void closeReply() + { + this->updateReplyingEvent(nullptr); + emit replyClosed(); + } QString getReplyingEvent() const { return replyingEvent_; } void updateReadReceipts(const QString &room_id, const std::vector<QString> &event_ids); void initWithMessages(const std::map<QString, mtx::responses::Timeline> &msgs);