summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-11-06 17:31:56 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-11-06 17:31:56 +0100
commit7d861ee88514b38081f748a2b9f844eb56c6c349 (patch)
treea68d66ceee07674fff774e0da1e551172049a367 /src
parentaa78a454fb4b2f2f90e84eb07a911ab60a8da1a0 (diff)
downloadpoezio-7d861ee88514b38081f748a2b9f844eb56c6c349.tar.gz
poezio-7d861ee88514b38081f748a2b9f844eb56c6c349.tar.bz2
poezio-7d861ee88514b38081f748a2b9f844eb56c6c349.tar.xz
poezio-7d861ee88514b38081f748a2b9f844eb56c6c349.zip
Fix another thing related to Room removale
Diffstat (limited to 'src')
-rw-r--r--src/tabs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tabs.py b/src/tabs.py
index b4e0cf1d..79412158 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -305,7 +305,7 @@ class ChatTab(Tab):
# build the list of the recent words
char_we_dont_want = string.punctuation+' '
words = list()
- for msg in self.messages[:-40:-1]:
+ for msg in self._text_buffer.messages[:-40:-1]:
if not msg:
continue
txt = xhtml.clean_text(msg.txt)
@@ -494,7 +494,7 @@ class MucTab(ChatTab):
"""
/clear
"""
- self.messages = []
+ self._text_buffer.messages = []
self.text_win.rebuild_everything(self._text_buffer)
self.refresh()
self.core.doupdate()