aboutsummaryrefslogtreecommitdiff
path: root/quotest
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-07-30 19:32:25 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-07-30 19:32:25 +0200
commita2e8575f8b843eb9534c42b9c2864923a0329119 (patch)
treed35fc9648e19d4c2b39ea96c851e48dad5beb179 /quotest
parent62c829cc8de8a870c08926c41331f2766e766f37 (diff)
parent7ee1681d7640b7e7683f7bb40bf768704a48832c (diff)
downloadlibquotient-a2e8575f8b843eb9534c42b9c2864923a0329119.tar.gz
libquotient-a2e8575f8b843eb9534c42b9c2864923a0329119.zip
Merge branch 'master' into kitsune-fix-read-receipts-and-markers
Diffstat (limited to 'quotest')
-rw-r--r--quotest/quotest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/quotest/quotest.cpp b/quotest/quotest.cpp
index 5646d54d..ec7d4dcb 100644
--- a/quotest/quotest.cpp
+++ b/quotest/quotest.cpp
@@ -557,7 +557,7 @@ bool TestSuite::checkRedactionOutcome(const QByteArray& thisTest,
// redacted at the next sync, or the nearest sync completes with
// the unredacted event but the next one brings redaction.
auto it = targetRoom->findInTimeline(evtIdToRedact);
- if (it == targetRoom->timelineEdge())
+ if (it == targetRoom->historyEdge())
return false; // Waiting for the next sync
if ((*it)->isRedacted()) {