Daniel Brötzmann pushed to branch master at gajim / gajim
Commits: a020b0ab by Nicoco at 2024-07-28T11:35:24+00:00 fix: Send read marker when receiving a message in a chat that has the focus. - - - - - 1 changed file: - gajim/gtk/chat_stack.py Changes: ===================================== gajim/gtk/chat_stack.py ===================================== @@ -370,6 +370,12 @@ def _on_message_received(self, event: events.MessageReceived) -> None: return if app.window.is_chat_active(event.account, event.jid): + client = app.get_client(event.account) + contact = client.get_module('Contacts').get_contact(event.jid) + client.get_module('ChatMarkers').send_displayed_marker( + contact, + event.message.id, + event.message.stanza_id) return message = event.message View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/a020b0abfcdf354ae7233473b37b416873cfa2e4 -- View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/a020b0abfcdf354ae7233473b37b416873cfa2e4 You're receiving this email because of your account on dev.gajim.org.
_______________________________________________ Commits mailing list -- commits@gajim.org To unsubscribe send an email to commits-le...@gajim.org