From e8d6b806f501fda55a0fdbd7648815b5218510ed Mon Sep 17 00:00:00 2001
From: lovetox <philipp@hoerist.com>
Date: Sun, 4 Apr 2021 17:18:28 +0200
Subject: [PATCH] Fix history mode

---
 gajim/gtk/conversation/view.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gajim/gtk/conversation/view.py b/gajim/gtk/conversation/view.py
index 9e05b5d342..5d23b08e03 100644
--- a/gajim/gtk/conversation/view.py
+++ b/gajim/gtk/conversation/view.py
@@ -90,7 +90,8 @@ def __init__(self, account, contact, history_mode=False):
         self._last_incoming_timestamp = datetime.fromtimestamp(0)
 
         # Insert the very first row, containing the scroll hint and load button
-        self._scroll_hint_row = ScrollHintRow(self._account)
+        self._scroll_hint_row = ScrollHintRow(self._account,
+                                              history_mode=self._history_mode)
         self.add(self._scroll_hint_row)
         self._timestamps_inserted.append(datetime.fromtimestamp(0))
 
-- 
GitLab