Skip to content
Snippets Groups Projects
Commit 285a7949 authored by jimpp's avatar jimpp
Browse files

Get real jid of the chatcontrol when we talk to specific ressource. This...

Get real jid of the chatcontrol when we talk to specific ressource. This prevent systray icon to be stuck to
incomming message in some rare case (new message window + auto_open). Thanks beerfan for spoting this rare
case :)
parent 3cffe556
No related branches found
No related tags found
No related merge requests found
......@@ -636,7 +636,10 @@ class ChatControlBase(MessageControl):
def on_conversation_vadjustment_value_changed(self, widget):
if not self.nb_unread:
return
jid = self.contact.jid
if self.resource:
jid = self.contact.get_full_jid()
else:
jid = self.contact.jid
if self.conv_textview.at_the_end() and \
self.parent_win.get_active_control() == self and \
self.parent_win.window.is_active():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment