fix traceback: get variable where it is. fixes #3943
This commit is contained in:
parent
005cc0770e
commit
f8b12e3b6b
|
@ -314,8 +314,8 @@ class ChatControlSession(stanza_session.EncryptedStanzaSession):
|
||||||
if len(gajim.events.get_events(self.conn.name, fjid)):
|
if len(gajim.events.get_events(self.conn.name, fjid)):
|
||||||
self.control.read_queue()
|
self.control.read_queue()
|
||||||
|
|
||||||
if path and not gajim.interface.dragging and gajim.config.get(
|
if path and not gajim.interface.roster.dragging and \
|
||||||
'scroll_roster_to_last_message'):
|
gajim.config.get('scroll_roster_to_last_message'):
|
||||||
# we curently see contact in our roster
|
# we curently see contact in our roster
|
||||||
# show and select his line in roster
|
# show and select his line in roster
|
||||||
# do not change selection while DND'ing
|
# do not change selection while DND'ing
|
||||||
|
|
Loading…
Reference in New Issue