summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui@4325f9fc-e183-4c21-96ce-0ab188b42d13 <mathieui@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-10-11 23:09:16 +0000
committermathieui@4325f9fc-e183-4c21-96ce-0ab188b42d13 <mathieui@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-10-11 23:09:16 +0000
commit63bc5a2a2fb8e62f8a0c388683f85f49e921056b (patch)
tree29f6588131ef797a14d60d1b8cafc649f0a15993
parenteb528eb9aed224458fa2d08d0d202c309451fa82 (diff)
downloadpoezio-63bc5a2a2fb8e62f8a0c388683f85f49e921056b.tar.gz
poezio-63bc5a2a2fb8e62f8a0c388683f85f49e921056b.tar.bz2
poezio-63bc5a2a2fb8e62f8a0c388683f85f49e921056b.tar.xz
poezio-63bc5a2a2fb8e62f8a0c388683f85f49e921056b.zip
remove the old /me verif because it's not useful anymore
-rw-r--r--src/gui.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/gui.py b/src/gui.py
index cc0fcb1b..bcf974c7 100644
--- a/src/gui.py
+++ b/src/gui.py
@@ -776,11 +776,8 @@ class Gui(object):
self.add_message_to_text_buffer(room, _("The subject is: %(subject)s") % {'subject':subject}, time=date)
room.topic = subject.replace('\n', '|')
elif body:
- if body.startswith('/me '):
- self.add_message_to_text_buffer(room, "* "+nick_from + ' ' + body[4:], date)
- else:
- date = date if delayed == True else None
- self.add_message_to_text_buffer(room, body, date, nick_from)
+ date = date if delayed == True else None
+ self.add_message_to_text_buffer(room, body, date, nick_from)
self.refresh_window()
doupdate()