From 995b017296dc25f95649beb6d3f37418714d31fc Mon Sep 17 00:00:00 2001 From: lovetox <philipp@hoerist.com> Date: Tue, 2 Jun 2020 08:29:01 +0200 Subject: [PATCH] Client: Remove unnecessary our-show events The event gets raised when we receive the presence reflection --- gajim/common/client.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/gajim/common/client.py b/gajim/common/client.py index 8d3a3986fa..0a078e6a31 100644 --- a/gajim/common/client.py +++ b/gajim/common/client.py @@ -227,9 +227,6 @@ def _on_resume_successful(self, _client, _signal_name): if self._status_sync_on_resume: self._status_sync_on_resume = False self.update_presence() - else: - app.nec.push_incoming_event( - OurShowEvent(None, conn=self, show=self._status)) def _set_client_available(self): self._set_state(ClientState.AVAILABLE) @@ -418,9 +415,6 @@ def update_presence(self): self.get_module('MUC').update_presence() - app.nec.push_incoming_event( - OurShowEvent(None, conn=self, show=status)) - def get_module(self, name): return modules.get(self._account, name) -- GitLab