Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
c5f6cc12 by wurstsalat at 2022-11-05T14:59:06+01:00
fix: MessageInputTextView: Handle is_correcting if no contact is set
Fixes #11272
- - - - -
1 changed file:
- gajim/gtk/message_input.py
Changes:
=====================================
gajim/gtk/message_input.py
=====================================
@@ -116,7 +116,9 @@ def __init__(self) -> None:
@property
def is_correcting(self) -> bool:
- assert self._contact is not None
+ if self._contact is None:
+ return False
+
return self._correcting[self._contact]
def get_last_message_id(self, contact: ChatContactT) -> Optional[str]:
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/c5f6cc123276cb01b2be9cf6458a536b…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/c5f6cc123276cb01b2be9cf6458a536b…
You're receiving this email because of your account on dev.gajim.org.
Philipp Hörist pushed to branch fix-read-state-sync at gajim / gajim
Commits:
ebe0270f by Philipp Hörist at 2022-11-04T22:33:39+01:00
cfix: Take full unread count into consideration
- - - - -
1 changed file:
- gajim/gtk/main.py
Changes:
=====================================
gajim/gtk/main.py
=====================================
@@ -907,7 +907,9 @@ def mark_as_read(self,
send_marker: bool = True
) -> None:
- unread_count = self.get_chat_unread_count(account, jid)
+ unread_count = self.get_chat_unread_count(account,
+ jid,
+ include_silent=True)
set_urgency_hint(self, False)
control = self.get_control()
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/ebe0270f5feb969df390eb86abb2f977…
--
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/ebe0270f5feb969df390eb86abb2f977…
You're receiving this email because of your account on dev.gajim.org.