fix traceback: get variable where it is. fixes #3943

This commit is contained in:
Yann Leboulanger 2008-05-13 22:04:50 +00:00
parent 005cc0770e
commit f8b12e3b6b
1 changed files with 2 additions and 2 deletions

View File

@ -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