diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-07-30 08:22:13 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-07-30 08:22:13 +0200 |
commit | 7ee1681d7640b7e7683f7bb40bf768704a48832c (patch) | |
tree | fc91df49a69e5a3d8f4e0d7f0ec6ffb8b8a956f3 /quotest | |
parent | 02eac9e9ff573d85677f900288e82473f5296ee3 (diff) | |
download | libquotient-7ee1681d7640b7e7683f7bb40bf768704a48832c.tar.gz libquotient-7ee1681d7640b7e7683f7bb40bf768704a48832c.zip |
Clean up after the previous commit
RoomAliasesEvent is no more even registered (meaning that the library
will load m.room.aliases as unknown state events); quotest code updated
to use historyEdge() instead of timelineEdge().
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()) { |