Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
e50db706 by wurstsalat at 2022-05-24T16:23:43+02:00
fix: Don't set read marker when receiving own carbons
Fixes: #10902
- - - - -
2 changed files:
- gajim/gtk/controls/base.py
- gajim/gtk/controls/chat.py
Changes:
=====================================
gajim/gtk/controls/base.py
=====================================
@@ -1219,11 +1219,6 @@ def add_message(self,
else:
set_urgency_hint(app.window, True)
- if chat_active and self._scrolled_view.get_autoscroll():
- # Send chat marker if we’re actively following the chat
- pass
- #app.window.mark_as_read(self.account, self.contact.jid)
-
def _notify(self,
name: str,
text: str,
=====================================
gajim/gtk/controls/chat.py
=====================================
@@ -390,9 +390,6 @@ def _on_message_received(self, event:
events.MessageReceived) -> None:
stanza_id=event.stanza_id,
additional_data=event.additional_data)
- if kind == 'outgoing':
- self.conversation_view.set_read_marker(event.properties.id)
-
def _on_message_error(self, event: events.MessageError) -> None:
self.conversation_view.show_error(event.message_id, event.error)
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/e50db7067a2bb4c16fbe91dc7191bc8fdd7bb756
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/e50db7067a2bb4c16fbe91dc7191bc8fdd7bb756
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