Fix a refresh bug on /query with a message
This commit is contained in:
parent
d917ec5ea2
commit
a808187550
1 changed files with 1 additions and 2 deletions
|
@ -547,8 +547,7 @@ class MucTab(ChatTab):
|
|||
r = self.core.open_private_window(room.name, user.nick)
|
||||
if r and len(args) > 1:
|
||||
msg = arg[len(nick)+1:]
|
||||
muc.send_private_message(self.core.xmpp, r.name, msg)
|
||||
self.core.add_message_to_text_buffer(r, msg, None, r.own_nick)
|
||||
self.core.current_tab().command_say(msg)
|
||||
if not r:
|
||||
self.core.information(_("Cannot find user: %s" % nick), 'Error')
|
||||
|
||||
|
|
Loading…
Reference in a new issue