diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-09-28 08:41:23 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-09-28 08:41:41 +0200 |
commit | bc217e85058fbee1ec81f45e9ffea916f0f89270 (patch) | |
tree | 81f8583374421a71f6ec2e9f24b637c7c463f970 /tests | |
parent | cdce40f31f775e609b2ec7dbda685ac6a9b9cde3 (diff) | |
download | libquotient-bc217e85058fbee1ec81f45e9ffea916f0f89270.tar.gz libquotient-bc217e85058fbee1ec81f45e9ffea916f0f89270.zip |
quotest: timelineEdge() -> historyEdge()
timelineEdge() is deprecated.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/quotest.cpp | 2 |
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()) { |