From 63805e59f6765917bbc03637362711c2d0157376 Mon Sep 17 00:00:00 2001 From: mathieui Date: Wed, 29 Feb 2012 20:31:46 +0100 Subject: Fixes #2327 (used "seconds" instead) --- src/core.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core.py') diff --git a/src/core.py b/src/core.py index b9b40929..96cc1454 100644 --- a/src/core.py +++ b/src/core.py @@ -1755,8 +1755,9 @@ class Core(object): room = room[1:] current_status = self.get_status() if tab and not tab.joined: + seconds = (int(time.time()) - tab.last_connection) if tab.last_connection != 0 else 0 muc.join_groupchat(self.xmpp, room, nick, password, - histo_length, current_status.message, current_status.show) + histo_length, current_status.message, current_status.show, seconds=seconds) if not tab: self.open_new_room(room, nick) muc.join_groupchat(self.xmpp, room, nick, password, -- cgit v1.2.3