diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-07-09 12:17:22 +0300 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2018-07-09 12:17:22 +0300 |
commit | 1312c139cc03d514feb6dfbd6324f149d3a54c88 (patch) | |
tree | a2f790c14b69c2b5eb86733544864963430f2275 /src | |
parent | 172d111d1cdb8414da9a3a81b2626db2b14c9e5e (diff) |
Don't pre-load messages from caches
Requires backfilling which is not implemented.
fixes #365
Diffstat (limited to 'src')
-rw-r--r-- | src/Cache.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Cache.cc b/src/Cache.cc index 1c3fa3dd..c1f25f63 100644 --- a/src/Cache.cc +++ b/src/Cache.cc @@ -961,7 +961,7 @@ Cache::roomMessages() auto roomsCursor = lmdb::cursor::open(txn, roomsDb_); while (roomsCursor.get(room_id, unused, MDB_NEXT)) - msgs.emplace(QString::fromStdString(room_id), getTimelineMessages(txn, room_id)); + msgs.emplace(QString::fromStdString(room_id), mtx::responses::Timeline()); roomsCursor.close(); txn.commit(); |