aboutsummaryrefslogtreecommitdiff
path: root/tests/quotest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/quotest.cpp')
-rw-r--r--tests/quotest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/quotest.cpp b/tests/quotest.cpp
index 6ad5e8a8..fc71cbbc 100644
--- a/tests/quotest.cpp
+++ b/tests/quotest.cpp
@@ -549,7 +549,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()) {