From 10fe12086d1dceab3d3796938aa0414877e79e63 Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 7 Nov 2011 14:33:37 +0100 Subject: =?UTF-8?q?Fix=20subscriptions=20(/add=20=E2=86=92=20/accept=20ins?= =?UTF-8?q?tead=20of=20/add=20=E2=86=92=20/accept=20=E2=86=92=20/accept)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/tabs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/tabs.py b/src/tabs.py index e40a8f05..9f37190a 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -1448,6 +1448,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): """ @@ -1675,7 +1676,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: -- cgit v1.2.3