diff options
author | mathieui <mathieui@mathieui.net> | 2012-02-29 20:31:46 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2012-02-29 20:31:46 +0100 |
commit | 63805e59f6765917bbc03637362711c2d0157376 (patch) | |
tree | 98a1d03049933eec85f214f2b5580c947585a6a0 /src/core.py | |
parent | 73c8206cc7926757ccc963ede581989078e6c780 (diff) | |
download | poezio-63805e59f6765917bbc03637362711c2d0157376.tar.gz poezio-63805e59f6765917bbc03637362711c2d0157376.tar.bz2 poezio-63805e59f6765917bbc03637362711c2d0157376.tar.xz poezio-63805e59f6765917bbc03637362711c2d0157376.zip |
Fixes #2327 (used "seconds" instead)
Diffstat (limited to 'src/core.py')
-rw-r--r-- | src/core.py | 3 |
1 files changed, 2 insertions, 1 deletions
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, |