Philipp Hörist pushed to branch master at gajim / gajim
Commits: 741b3437 by lovetox at 2022-01-03T22:33:50+01:00 MUC: Remove unused code
- - - - - 092ac619 by lovetox at 2022-01-03T22:34:11+01:00 Remove trailing whitespace
- - - - -
2 changed files:
- gajim/common/events.py - gajim/common/modules/muc.py
Changes:
===================================== gajim/common/events.py ===================================== @@ -297,7 +297,7 @@ class AgentRemoved(ApplicationEvent): conn: 'Client' agent: str jid_list: list[str] - +
@dataclass class GatewayPromptReceived(ApplicationEvent):
===================================== gajim/common/modules/muc.py ===================================== @@ -610,16 +610,6 @@ def _remove_join_timeout(self, room_jid): GLib.source_remove(id_) del self._join_timeouts[room_jid]
- def _raise_muc_event(self, event_name, properties): - raise ValueError - # Not used Currently - # app.ged.raise_event( - # NetworkEvent(event_name, - # account=self._account, - # jid=properties.jid.bare, - # properties=properties)) - self._log_muc_event(event_name, properties) - def _log_muc_event(self, event_name, properties): # TODO CURRENTLY NOT USED if event_name not in ['muc-user-joined',
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/compare/5e194357d2734d130c8fe0f0c66b5489...