removing CR+LF that were added by accident

This commit is contained in:
Nikos Kouremenos 2005-06-12 15:14:07 +00:00
parent f19882a66e
commit dc7f0c4e80
3 changed files with 1699 additions and 3 deletions

View File

@ -722,6 +722,9 @@ class Chat:
elif text.startswith('/me ') or text.startswith('/me\n'):
text = name + text[3:]
text_tags.append(kind)
elif text.startswith('/chat '):
text = name + text[4:]
text_tags.append(kind)
if kind == 'incoming':
self.last_message_time[jid] = time.time()

View File

@ -528,7 +528,7 @@ class GroupchatWindow(chat.Chat):
def on_add_to_roster(self, widget, jid):
dialogs.AddNewContactWindow(self.plugin, self.account, jid)
def on_send_pm(self, widget, model, iter):
def on_send_pm(self, widget, model=None, iter=None):
room_jid = self.get_active_jid()
nick = model.get_value(iter, 1)
fjid = room_jid + '/' + nick

File diff suppressed because one or more lines are too long