Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
644db237 by wurstsalat at 2021-12-11T15:50:17+01:00
BaseControl: Fix _allow_add_message
- - - - -
1 changed file:
- gajim/gtk/controls/base.py
Changes:
=====================================
gajim/gtk/controls/base.py
=====================================
@@ -1127,7 +1127,7 @@ def _allow_add_message(self) -> bool:
lower_complete = self._scrolled_view.get_lower_complete()
chat_idle = app.window.is_chat_idle(self.account, self.contact.jid)
chat_selected = bool(app.window.get_active_control() is not None)
- return lower_complete and chat_idle or chat_selected
+ return lower_complete and (chat_idle or chat_selected)
def add_info_message(self, text: str) -> None:
self.conversation_view.add_info_message(text)
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/644db237d875d2a2a20066503bcd7a45ebd9b9ff
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/644db237d875d2a2a20066503bcd7a45ebd9b9ff
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