From a50ddd25b2abe3736002414ffc76cc8548447440 Mon Sep 17 00:00:00 2001 From: Manuel Cortez Date: Mon, 11 Feb 2019 05:33:18 -0600 Subject: [PATCH] Fixed an error when displaying posts in a community wall, if the community had shared another community's post --- src/controller/mainController.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controller/mainController.py b/src/controller/mainController.py index 4ea1217..bfcff05 100644 --- a/src/controller/mainController.py +++ b/src/controller/mainController.py @@ -204,7 +204,7 @@ class Controller(object): self.session.process_usernames(data) if create_buffers: for i in self.session.groups: - wx.CallAfter(pub.sendMessage, "create_buffer", buffer_type="communityBuffer", buffer_title=i["name"], parent_tab="communities", loadable=True, get_items=True, kwargs=dict(parent=self.window.tb, name="{0}_community".format(i["id"],), composefunc="render_status", session=self.session, endpoint="get", parent_endpoint="wall", count=self.session.settings["buffers"]["count_for_wall_buffers"], owner_id=-1*i["id"])) + wx.CallAfter(pub.sendMessage, "create_buffer", buffer_type="communityBuffer", buffer_title=i["name"], parent_tab="communities", loadable=True, get_items=True, kwargs=dict(parent=self.window.tb, name="{0}_community".format(i["id"],), composefunc="render_status", session=self.session, endpoint="get", parent_endpoint="wall", extended=1, count=self.session.settings["buffers"]["count_for_wall_buffers"], owner_id=-1*i["id"])) time.sleep(0.15) def login(self):