From bc217e85058fbee1ec81f45e9ffea916f0f89270 Mon Sep 17 00:00:00 2001 From: Alexey Rusakov Date: Tue, 28 Sep 2021 08:41:23 +0200 Subject: quotest: timelineEdge() -> historyEdge() timelineEdge() is deprecated. --- tests/quotest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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()) { -- cgit v1.2.3