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/5e194357d2734d130c8fe0f0c66b54896b617884...092ac61925ce81ab81123c268d9b618677a9ae23
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/compare/5e194357d2734d130c8fe0f0c66b54896b617884...092ac61925ce81ab81123c268d9b618677a9ae23
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits