Daniel Brötzmann pushed to branch master at gajim / gajim


Commits:
e426ed6c by wurstsalat at 2022-11-01T00:27:49+01:00
fix: Don’t fail when trying to reset last message id

- - - - -


1 changed file:

- gajim/gtk/message_input.py


Changes:

=====================================
gajim/gtk/message_input.py
=====================================
@@ -179,7 +179,7 @@ def _on_message_sent(self, event: MessageSent) -> None:
             oob_url = event.additional_data.get_value('gajim', 'oob_url')
             if oob_url == event.message:
                 # Don't allow to correct HTTP Upload file transfer URLs
-                self._last_message_id.pop(self._contact)
+                self._last_message_id[self._contact] = None
             else:
                 self._last_message_id[self._contact] = event.message_id
 



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/e426ed6c311815f82741cd3a59f8b61f58d60a8c

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/e426ed6c311815f82741cd3a59f8b61f58d60a8c
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

Reply via email to