removing CR+LF that were added by accident
This commit is contained in:
parent
f19882a66e
commit
dc7f0c4e80
3 changed files with 1699 additions and 3 deletions
|
@ -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()
|
||||
|
|
|
@ -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
|
||||
|
|
1697
src/roster_window.py
1697
src/roster_window.py
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue