diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-04-14 06:33:41 +0200 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-04-14 06:33:41 +0200 |
commit | e8be883d1c05bd82040e59c4744362509bd24222 (patch) | |
tree | 50c46c6486419d57733c300c6e7ae1029a7b954c /lib/room.cpp | |
parent | 0c96ae749c749a5a36e9f28a91bb69f7702d94c5 (diff) | |
download | libquotient-e8be883d1c05bd82040e59c4744362509bd24222.tar.gz libquotient-e8be883d1c05bd82040e59c4744362509bd24222.zip |
Room: emit updatedEvent() on un-reaction
Diffstat (limited to 'lib/room.cpp')
-rw-r--r-- | lib/room.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/room.cpp b/lib/room.cpp index ffe78a3a..c9363a00 100644 --- a/lib/room.cpp +++ b/lib/room.cpp @@ -2128,6 +2128,7 @@ bool Room::Private::processRedaction(const RedactionEvent& redaction) qMakePair(targetEvtId, EventRelation::Annotation()); if (relations.contains(lookupKey)) { relations[lookupKey].removeOne(reaction); + emit q->updatedEvent(targetEvtId); } } q->onRedaction(*oldEvent, *ti); |