summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-03-29 14:15:02 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-03-29 14:15:02 +0200
commitc2cb61da06b3c5a3acff152e28bfc5cccda1fd93 (patch)
tree1c73c362941524ece7fdfbe8eaf04505274adac7 /src/core.py
parentdcd29c636f01a8983d4cfdb20c66793e5d7cdef0 (diff)
downloadpoezio-c2cb61da06b3c5a3acff152e28bfc5cccda1fd93.tar.gz
poezio-c2cb61da06b3c5a3acff152e28bfc5cccda1fd93.tar.bz2
poezio-c2cb61da06b3c5a3acff152e28bfc5cccda1fd93.tar.xz
poezio-c2cb61da06b3c5a3acff152e28bfc5cccda1fd93.zip
Cleanup some code not used anymore
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core.py b/src/core.py
index 46e10793..c6b2942b 100644
--- a/src/core.py
+++ b/src/core.py
@@ -426,7 +426,7 @@ class Core(object):
def on_user_changed_status_in_private(self, jid, msg):
tab = self.get_tab_by_name(jid)
if tab: # display the message in private
- tab.get_room().add_message(msg, colorized=True)
+ tab.get_room().add_message(msg)
def on_message(self, message):
"""
@@ -459,7 +459,6 @@ class Core(object):
return
body = message['body']
room.add_message(body, time=None, nickname=nick_from,
- colorized=False,
forced_user=self.get_room_by_name(room_from).get_user_by_name(nick_from))
conversation = self.get_tab_by_name(jid.full, tabs.PrivateTab)
if conversation and conversation.remote_wants_chatstates is None: