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

This commit is contained in:
mathieui 2015-05-21 14:33:08 +02:00
parent 3077ec2bc1
commit b7a7da12fa
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3

View file

@ -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()