remove the old /me verif because it's not useful anymore

parent eb528eb9
...@@ -776,11 +776,8 @@ class Gui(object): ...@@ -776,11 +776,8 @@ class Gui(object):
self.add_message_to_text_buffer(room, _("The subject is: %(subject)s") % {'subject':subject}, time=date) self.add_message_to_text_buffer(room, _("The subject is: %(subject)s") % {'subject':subject}, time=date)
room.topic = subject.replace('\n', '|') room.topic = subject.replace('\n', '|')
elif body: elif body:
if body.startswith('/me '): date = date if delayed == True else None
self.add_message_to_text_buffer(room, "* "+nick_from + ' ' + body[4:], date) self.add_message_to_text_buffer(room, body, date, nick_from)
else:
date = date if delayed == True else None
self.add_message_to_text_buffer(room, body, date, nick_from)
self.refresh_window() self.refresh_window()
doupdate() doupdate()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment