diff options
author | mathieui <mathieui@mathieui.net> | 2011-11-07 14:33:37 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2011-11-07 14:33:37 +0100 |
commit | 10fe12086d1dceab3d3796938aa0414877e79e63 (patch) | |
tree | e580757d2d10065400111c045f7eda7826228009 /src | |
parent | 78174a6eae75e14295e501563d7744401d2f4e11 (diff) | |
download | poezio-10fe12086d1dceab3d3796938aa0414877e79e63.tar.gz poezio-10fe12086d1dceab3d3796938aa0414877e79e63.tar.bz2 poezio-10fe12086d1dceab3d3796938aa0414877e79e63.tar.xz poezio-10fe12086d1dceab3d3796938aa0414877e79e63.zip |
Fix subscriptions (/add → /accept instead of /add → /accept → /accept)
Diffstat (limited to 'src')
-rw-r--r-- | src/tabs.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |