Skip to content
Snippets Groups Projects
Commit 12f24e5f authored by Dicson's avatar Dicson
Browse files

Quick fix [6de66f624e71]. print last message in room then reconnect

parent 09942f48
No related branches found
No related tags found
No related merge requests found
...@@ -2357,7 +2357,7 @@ class Connection(CommonConnection, ConnectionHandlers): ...@@ -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
......
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