Verified Commit d790465d authored by mathieui's avatar mathieui
Browse files

Fix #2520 (feedback on roster changes)

parent dc5e3b33
......@@ -378,6 +378,8 @@ class RosterInfoTab(Tab):
contact = roster[jid]
if contact:
self.core.information('Subscription to %s was revoked' % jid,
def command_add(self, args):
......@@ -392,6 +394,7 @@ class RosterInfoTab(Tab):
return self.core.information('Already subscribed.', 'Roster')
self.core.information('%s was added to the roster' % jid, 'Roster')
def command_name(self, arg):
......@@ -720,6 +723,8 @@ class RosterInfoTab(Tab):
if contact.subscription in ('from', 'none') and not contact.pending_out:
self.core.xmpp.send_presence(pto=jid, ptype='subscribe', pnick=self.core.own_nick)
self.core.information('%s is now authorized' % jid, 'Roster')
def refresh(self):
if self.need_resize:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment