Daniel Brötzmann pushed to branch master at gajim / gajim
Commits: 74755fb5 by wurstsalat at 2022-08-12T18:27:01+02:00 chore: ChatStack: Allow Any for event processing - - - - - c7139cf4 by wurstsalat at 2022-08-12T18:27:11+02:00 chore: Update pyrightconfig - - - - - 2 changed files: - gajim/gtk/chat_stack.py - pyrightconfig.json Changes: ===================================== gajim/gtk/chat_stack.py ===================================== @@ -14,6 +14,7 @@ from __future__ import annotations +from typing import Any from typing import Optional import sys @@ -724,9 +725,10 @@ def clear(self) -> None: self._message_action_box.clear() self._chat_control.clear() - def process_event(self, event: events.MainEventT) -> None: + def process_event(self, event: Any) -> None: if isinstance(event, events.MucDiscoUpdate): self._on_muc_disco_update(event) + if isinstance(event, events.MessageReceived): self._on_message_received(event) ===================================== pyrightconfig.json ===================================== @@ -95,7 +95,7 @@ "gajim/gtk/mam_preferences.py", "gajim/gtk/manage_sounds.py", "gajim/gtk/menus.py", - "gajim/gtk/message_action_box.py", + "gajim/gtk/message_actions_box.py", "gajim/gtk/message_input.py", "gajim/gtk/notification_manager.py", "gajim/gtk/notification.py", View it on GitLab: https://dev.gajim.org/gajim/gajim/-/compare/35d8a2fb27486ba34ea8afd7016cb1037380755f...c7139cf4ce85f5236085d239a931ef240352fa93 -- View it on GitLab: https://dev.gajim.org/gajim/gajim/-/compare/35d8a2fb27486ba34ea8afd7016cb1037380755f...c7139cf4ce85f5236085d239a931ef240352fa93 You're receiving this email because of your account on dev.gajim.org.
_______________________________________________ Commits mailing list Commits@gajim.org https://lists.gajim.org/cgi-bin/listinfo/commits