diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-07-30 19:32:25 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-07-30 19:32:25 +0200 |
commit | a2e8575f8b843eb9534c42b9c2864923a0329119 (patch) | |
tree | d35fc9648e19d4c2b39ea96c851e48dad5beb179 /quotest | |
parent | 62c829cc8de8a870c08926c41331f2766e766f37 (diff) | |
parent | 7ee1681d7640b7e7683f7bb40bf768704a48832c (diff) | |
download | libquotient-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.cpp | 2 |
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()) { |