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)
|
r = self.core.open_private_window(room.name, user.nick)
|
||||||
if r and len(args) > 1:
|
if r and len(args) > 1:
|
||||||
msg = arg[len(nick)+1:]
|
msg = arg[len(nick)+1:]
|
||||||
muc.send_private_message(self.core.xmpp, r.name, msg)
|
self.core.current_tab().command_say(msg)
|
||||||
self.core.add_message_to_text_buffer(r, msg, None, r.own_nick)
|
|
||||||
if not r:
|
if not r:
|
||||||
self.core.information(_("Cannot find user: %s" % nick), 'Error')
|
self.core.information(_("Cannot find user: %s" % nick), 'Error')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue