summaryrefslogtreecommitdiff
path: root/src/gui.py
diff options
context:
space:
mode:
authorlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-09-10 22:32:31 +0000
committerlouiz@4325f9fc-e183-4c21-96ce-0ab188b42d13 <louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13>2010-09-10 22:32:31 +0000
commit22e05a229a96a70bd891d0a6205ece851f1017a5 (patch)
tree2bd87b56947924130e939a14504f4ebaa990d39e /src/gui.py
parent945dc664d8f9044970e631db66d660057f912843 (diff)
downloadpoezio-22e05a229a96a70bd891d0a6205ece851f1017a5.tar.gz
poezio-22e05a229a96a70bd891d0a6205ece851f1017a5.tar.bz2
poezio-22e05a229a96a70bd891d0a6205ece851f1017a5.tar.xz
poezio-22e05a229a96a70bd891d0a6205ece851f1017a5.zip
fixed #1821, also try to fixe #1825
Diffstat (limited to 'src/gui.py')
-rw-r--r--src/gui.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui.py b/src/gui.py
index 87fd517d..7207a7a4 100644
--- a/src/gui.py
+++ b/src/gui.py
@@ -1072,12 +1072,13 @@ class Gui(object):
room = self.current_room()
if room.name == "Info" or room.jid is not None:
return
+ r = None
for user in room.users:
if user.nick == nick:
r = self.open_private_window(room.name, user.nick)
if r and len(args) > 1:
msg = arg[len(nick)+1:]
- muc.send_private_message(r.name, msg)
+ muc.send_private_message(self.xmpp, r.name, msg)
self.add_message_to_room(r, msg, None, r.own_nick)
def command_topic(self, arg):