summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-11-07 14:33:37 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-11-08 00:47:56 +0100
commit1f0ffa9253ecbb3828cb772589587ed472b6d6c0 (patch)
tree9e7e381ce9ab352ef12c0fd48b1a76db311e17b0 /src
parentb3b5d0229eb8156c930b3055971c61f62cf891b9 (diff)
downloadpoezio-1f0ffa9253ecbb3828cb772589587ed472b6d6c0.tar.gz
poezio-1f0ffa9253ecbb3828cb772589587ed472b6d6c0.tar.bz2
poezio-1f0ffa9253ecbb3828cb772589587ed472b6d6c0.tar.xz
poezio-1f0ffa9253ecbb3828cb772589587ed472b6d6c0.zip
Fix subscriptions (/add → /accept instead of /add → /accept → /accept)
Diffstat (limited to 'src')
-rw-r--r--src/tabs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tabs.py b/src/tabs.py
index 8f510f97..67905c0f 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -1457,6 +1457,7 @@ class RosterInfoTab(Tab):
self.core.information(_('No JID specified'), 'Error')
return
self.core.xmpp.sendPresence(pto=jid, ptype='subscribe')
+ self.core.xmpp.sendPresence(pto=jid, ptype='subscribed')
def command_name(self, args):
"""
@@ -1684,7 +1685,6 @@ class RosterInfoTab(Tab):
else:
jid = args[0]
self.core.xmpp.sendPresence(pto=jid, ptype='subscribed')
- self.core.xmpp.sendPresence(pto=jid, ptype='subscribe')
def refresh(self):
if self.need_resize: