Verified Commit b7a7da12 authored by mathieui's avatar mathieui

Fix #3062 (mention /accept or /deny must be done in the roster tab)

parent 3077ec2b
......@@ -763,9 +763,9 @@ def on_subscription_request(self, presence):
contact = roster.get_and_set(jid)
roster.update_contact_groups(contact)
contact.pending_in = True
self.information('%s wants to subscribe to your presence, '
'use /accept <jid> or /deny <jid> to accept '
'or reject the query.' % jid,
self.information('%s wants to subscribe to your presence, use '
'/accept <jid> or /deny <jid> in the roster '
'tab to accept or reject the query.' % jid,
'Roster')
self.get_tab_by_number(0).state = 'highlight'
roster.modified()
......
Markdown is supported
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