summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2013-01-21 19:34:44 +0100
committermathieui <mathieui@mathieui.net>2013-01-21 19:34:44 +0100
commit43e01ce4a6b7aca0bd26af5b432449afc4817b90 (patch)
treeae63459259e45db09c6795a31b4ee717afe43fad
parent1bf61cde38dc67945f12882aeffa6e3a67229f5e (diff)
downloadpoezio-43e01ce4a6b7aca0bd26af5b432449afc4817b90.tar.gz
poezio-43e01ce4a6b7aca0bd26af5b432449afc4817b90.tar.bz2
poezio-43e01ce4a6b7aca0bd26af5b432449afc4817b90.tar.xz
poezio-43e01ce4a6b7aca0bd26af5b432449afc4817b90.zip
Fix a traceback when a tab failed to be joined in the first place
-rw-r--r--src/tabs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 2e39988d..4b1a695b 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -789,7 +789,7 @@ class MucTab(ChatTab):
last_message = self._text_buffer.last_message
if last_message:
return last_message.time
- return None
+ return 0
@refresh_wrapper.always
def go_to_next_hl(self):