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/c5f6cc123276cb01b2be9cf6458a536be...