Quick fix [6de66f624e71]. print last message in room then reconnect
This commit is contained in:
parent
09942f48e0
commit
12f24e5f48
|
@ -2357,7 +2357,7 @@ class Connection(CommonConnection, ConnectionHandlers):
|
||||||
if rejoin:
|
if rejoin:
|
||||||
tags['since'] = time.strftime('%Y-%m-%dT%H:%M:%SZ',
|
tags['since'] = time.strftime('%Y-%m-%dT%H:%M:%SZ',
|
||||||
time.gmtime(gajim.logger.get_last_date_that_has_logs(
|
time.gmtime(gajim.logger.get_last_date_that_has_logs(
|
||||||
room_jid, is_room=True) + 1))
|
room_jid, is_room=True)))
|
||||||
nb = gajim.config.get('muc_restore_lines')
|
nb = gajim.config.get('muc_restore_lines')
|
||||||
if nb >= 0:
|
if nb >= 0:
|
||||||
tags['maxstanzas'] = nb
|
tags['maxstanzas'] = nb
|
||||||
|
|
Loading…
Reference in New Issue