summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-08-21 01:25:07 +0200
committerFlorent Le Coz <louiz@louiz.org>2011-08-21 01:25:07 +0200
commita8081875509a5b836b1d3b37322b06c8ac0103d2 (patch)
tree8265dd25c50e8add7590bbba8dc85eac7d32c0b5 /src
parentd917ec5ea246283e64eb433069f373f39f8ed4d7 (diff)
downloadpoezio-a8081875509a5b836b1d3b37322b06c8ac0103d2.tar.gz
poezio-a8081875509a5b836b1d3b37322b06c8ac0103d2.tar.bz2
poezio-a8081875509a5b836b1d3b37322b06c8ac0103d2.tar.xz
poezio-a8081875509a5b836b1d3b37322b06c8ac0103d2.zip
Fix a refresh bug on /query with a message
Diffstat (limited to 'src')
-rw-r--r--src/tabs.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 4d5b700e..0ced51e1 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -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')