Fix #3043 (add a hint about /access when receiving a sub request)

This commit is contained in:
mathieui 2015-04-13 18:40:18 +02:00
parent 5cc714a327
commit 64ec234f6b
No known key found for this signature in database
GPG key ID: C59F84CEEFD616E3

View file

@ -758,7 +758,10 @@ 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' % jid, 'Roster')
self.information(_('%s wants to subscribe to your presence, '
'use /accept <jid> or /deny <jid> to accept '
'or reject the query.') % jid,
'Roster')
self.get_tab_by_number(0).state = 'highlight'
roster.modified()
if isinstance(self.current_tab(), tabs.RosterInfoTab):