diff sat_frontends/quick_frontend/quick_chat.py @ 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 1370323e8f6c
children ab7e8ade848a
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)