Skip to content
Snippets Groups Projects
Commit 6894db02 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

fix config names. Fixes #7276

parent 37e0797f
No related branches found
No related tags found
No related merge requests found
......@@ -2384,7 +2384,7 @@ class Connection(CommonConnection, ConnectionHandlers):
if not change_nick:
t = p.setTag(nbxmpp.NS_MUC + ' x')
tags = {}
timeout = gajim.config.get_per('room', room_jid,
timeout = gajim.config.get_per('rooms', room_jid,
'muc_restore_timeout')
if timeout is None or timeout == -2:
timeout = gajim.config.get('muc_restore_timeout')
......@@ -2398,7 +2398,7 @@ class Connection(CommonConnection, ConnectionHandlers):
last_date = time.strftime('%Y-%m-%dT%H:%M:%SZ', time.gmtime(
last_date))
tags['since'] = last_date
nb = gajim.config.get_per('room', room_jid, 'muc_restore_lines')
nb = gajim.config.get_per('rooms', room_jid, 'muc_restore_lines')
if nb is None or nb == -2:
nb = gajim.config.get('muc_restore_lines')
if nb >= 0:
......
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