2 files changed, 6 insertions, 4 deletions
diff --git a/resources/langs/nheko_et.ts b/resources/langs/nheko_et.ts
index 38e5ed41..9cf05ef1 100644
--- a/resources/langs/nheko_et.ts
+++ b/resources/langs/nheko_et.ts
@@ -2904,7 +2904,7 @@ See tavaliselt tähendab, et rakenduse ikoon tegumiribal annab mingit sorti anim
<message>
<location line="+133"/>
<source>Display an identicon instead of a letter when no avatar is set.</source>
- <translation type="unfinished"></translation>
+ <translation>Kui tunnuspilt on seadistamata, siis kuva tähe asemel identikoni (matemaatilist tunnuspilti).</translation>
</message>
<message>
<location line="+46"/>
diff --git a/src/Cache.cpp b/src/Cache.cpp
index 58eb2630..b2db9edd 100644
--- a/src/Cache.cpp
+++ b/src/Cache.cpp
@@ -3182,9 +3182,11 @@ Cache::clearTimeline(const std::string &room_id)
break;
}
- do {
- lmdb::cursor_del(msgCursor);
- } while (msgCursor.get(indexVal, val, MDB_PREV));
+ if (!start) {
+ do {
+ lmdb::cursor_del(msgCursor);
+ } while (msgCursor.get(indexVal, val, MDB_PREV));
+ }
cursor.close();
msgCursor.close();
|