summary refs log tree commit diff
path: root/src/timeline/TimelineModel.cpp
diff options
context:
space:
mode:
authorJoseph Donofry <joedonofry@gmail.com>2020-05-07 20:53:24 -0400
committerJoseph Donofry <joedonofry@gmail.com>2020-05-07 20:53:24 -0400
commita1661f7006d7661bfd54cdd9971afd6717ed9c92 (patch)
tree8d8a221740487d0411795a17918715e15e89cf99 /src/timeline/TimelineModel.cpp
parentMerge pull request #192 from Nheko-Reborn/reactions (diff)
downloadnheko-a1661f7006d7661bfd54cdd9971afd6717ed9c92.tar.xz
merge master into reactions
Diffstat (limited to 'src/timeline/TimelineModel.cpp')
-rw-r--r--src/timeline/TimelineModel.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/timeline/TimelineModel.cpp b/src/timeline/TimelineModel.cpp

index 388a5842..022267d0 100644 --- a/src/timeline/TimelineModel.cpp +++ b/src/timeline/TimelineModel.cpp
@@ -915,6 +915,13 @@ TimelineModel::decryptEvent(const mtx::events::EncryptedEvent<mtx::events::msg:: } void +TimelineModel::reactAction(QString id) +{ + setReaction(id); + ChatPage::instance()->reactMessage(id); +} + +void TimelineModel::replyAction(QString id) { setReply(id);