From 252a93f82d30005fd155393857145892561f3d19 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Tue, 15 Nov 2022 16:12:49 -0600 Subject: [PATCH] save list buffers after being created --- src/controller/twitter/lists.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/controller/twitter/lists.py b/src/controller/twitter/lists.py index 419aec1a..00c28e9a 100644 --- a/src/controller/twitter/lists.py +++ b/src/controller/twitter/lists.py @@ -92,6 +92,8 @@ class listsController(object): if self.dialog.lista.get_count() == 0: return list = self.session.db["lists"][self.dialog.get_item()] pub.sendMessage("createBuffer", buffer_type="ListBuffer", session_type=self.session.type, buffer_title=_("List for {}").format(list.name), parent_tab=self.lists_buffer_position, start=True, kwargs=dict(function="list_timeline", name="%s-list" % (list.name,), sessionObject=self.session, account=self.session.get_name(), bufferType=None, sound="list_tweet.ogg", list_id=list.id, include_ext_alt_text=True, tweet_mode="extended")) + self.session.db["other_buffers"]["lists"].append(list.id) + self.session.settings.write() def subscribe(self, *args, **kwargs): if self.dialog.lista.get_count() == 0: return