summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicolas Werner <nicolas.werner@hotmail.de>2020-10-13 00:14:28 +0200
committerNicolas Werner <nicolas.werner@hotmail.de>2020-10-13 00:14:28 +0200
commit62d0bdbb77826bdbb9a778c56b8534d4b0c2c551 (patch)
tree359bd877f6613f50ebb4e3f7667d5f0d87c2dd97
parentFix emoji filter losing focus (diff)
downloadnheko-62d0bdbb77826bdbb9a778c56b8534d4b0c2c551.tar.xz
Fix small typo in robustness logic
-rw-r--r--src/Cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Cache.cpp b/src/Cache.cpp
index 088b6fc6..5a0740f1 100644
--- a/src/Cache.cpp
+++ b/src/Cache.cpp
@@ -1638,7 +1638,7 @@ Cache::getTimelineIndex(const std::string &room_id, std::string_view event_id)
 
         lmdb::dbi orderDb{0};
         try {
-                orderDb = getOrderToMessageDb(txn, room_id);
+                orderDb = getMessageToOrderDb(txn, room_id);
         } catch (lmdb::runtime_error &e) {
                 nhlog::db()->error("Can't open db for room '{}', probably doesn't exist yet. ({})",
                                    room_id,