Don't pre-load messages from caches

Requires backfilling which is not implemented.

fixes #365
This commit is contained in:
Konstantinos Sideris 2018-07-09 12:17:22 +03:00
parent 172d111d1c
commit 1312c139cc
1 changed files with 1 additions and 1 deletions

View File

@ -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();