Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
-
644db237
by wurstsalat at 2021-12-11T15:50:17+01:00
1 changed file:
Changes:
| ... | ... | @@ -1127,7 +1127,7 @@ def _allow_add_message(self) -> bool: |
| 1127 | 1127 |
lower_complete = self._scrolled_view.get_lower_complete()
|
| 1128 | 1128 |
chat_idle = app.window.is_chat_idle(self.account, self.contact.jid)
|
| 1129 | 1129 |
chat_selected = bool(app.window.get_active_control() is not None)
|
| 1130 |
- return lower_complete and chat_idle or chat_selected
|
|
| 1130 |
+ return lower_complete and (chat_idle or chat_selected)
|
|
| 1131 | 1131 |
|
| 1132 | 1132 |
def add_info_message(self, text: str) -> None:
|
| 1133 | 1133 |
self.conversation_view.add_info_message(text)
|