Commit f4e4596d authored by Daniel Brötzmann's avatar Daniel Brötzmann Committed by Philipp Hörist

Chat Markers: Send marker if the chat is actively followed

parent b4c9587a
......@@ -1186,6 +1186,17 @@ def add_message(self,
# Record the history of received messages
self.save_message(text, 'received')
# Send chat marker if we’re actively following the chat
if self.parent_win and'send_marker'):
if (self.parent_win.get_active_control() == self and
self.parent_win.is_active() and
self.has_focus() and end):
con = app.connections[self.account]
if kind in ('incoming', 'incoming_queue', 'error'):
gc_message = False
if self._type.is_groupchat:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment