Fix #3062 (mention /accept or /deny must be done in the roster tab)
This commit is contained in:
parent
3077ec2bc1
commit
b7a7da12fa
1 changed files with 3 additions and 3 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue