Don't pre-load messages from caches

Requires backfilling which is not implemented.

fixes #365
pull/1/head
Konstantinos Sideris 6 years ago
parent 172d111d1c
commit 1312c139cc
  1. 2
      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();

Loading…
Cancel
Save