diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-11-06 17:31:56 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-11-06 17:31:56 +0100 |
commit | 7d861ee88514b38081f748a2b9f844eb56c6c349 (patch) | |
tree | a68d66ceee07674fff774e0da1e551172049a367 | |
parent | aa78a454fb4b2f2f90e84eb07a911ab60a8da1a0 (diff) | |
download | poezio-7d861ee88514b38081f748a2b9f844eb56c6c349.tar.gz poezio-7d861ee88514b38081f748a2b9f844eb56c6c349.tar.bz2 poezio-7d861ee88514b38081f748a2b9f844eb56c6c349.tar.xz poezio-7d861ee88514b38081f748a2b9f844eb56c6c349.zip |
Fix another thing related to Room removale
-rw-r--r-- | src/tabs.py | 4 |
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() |