From 12f24e5f483839ab312b67d33bbc9d56a25db854 Mon Sep 17 00:00:00 2001 From: Denis Fomin Date: Sat, 18 Feb 2012 23:06:08 +0400 Subject: [PATCH] Quick fix [6de66f624e71]. print last message in room then reconnect --- src/common/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/connection.py b/src/common/connection.py index fac387aee..537d974b4 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -2357,7 +2357,7 @@ class Connection(CommonConnection, ConnectionHandlers): if rejoin: tags['since'] = time.strftime('%Y-%m-%dT%H:%M:%SZ', 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') if nb >= 0: tags['maxstanzas'] = nb