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

This commit is contained in:
Denis Fomin 2012-02-18 23:06:08 +04:00
parent 09942f48e0
commit 12f24e5f48
1 changed files with 1 additions and 1 deletions

View File

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