changeset 3078:95c94d94872d

quick frontend(chat): store filters used with initial historyGet
author Goffi <goffi@goffi.org>
date Mon, 18 Nov 2019 22:34:13 +0100
parents ab8be8f1c92d
children f8cc88c773c8
files sat_frontends/quick_frontend/quick_chat.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/sat_frontends/quick_frontend/quick_chat.py	Mon Nov 18 22:34:13 2019 +0100
+++ b/sat_frontends/quick_frontend/quick_chat.py	Mon Nov 18 22:34:13 2019 +0100
@@ -617,6 +617,8 @@
             # FIXME: info not handled correctly
             filters["types"] = C.MESS_TYPE_GROUPCHAT
 
+        self.history_filters = filters
+
         def _historyGetCb(history):
             # day_format = "%A, %d %b %Y"  # to display the day change
             # previous_day = datetime.now().strftime(day_format)