summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2015-04-13 18:40:18 +0200
committermathieui <mathieui@mathieui.net>2015-04-13 18:42:39 +0200
commit64ec234f6b111b1fade558060d0854f256024316 (patch)
tree9e92dafd2174ab6a450ef17072af9517ab4c1a96 /src
parent5cc714a3275a476cbafff743e15ebfceaff5e957 (diff)
downloadpoezio-64ec234f6b111b1fade558060d0854f256024316.tar.gz
poezio-64ec234f6b111b1fade558060d0854f256024316.tar.bz2
poezio-64ec234f6b111b1fade558060d0854f256024316.tar.xz
poezio-64ec234f6b111b1fade558060d0854f256024316.zip
Fix #3043 (add a hint about /access when receiving a sub request)
Diffstat (limited to 'src')
-rw-r--r--src/core/handlers.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/handlers.py b/src/core/handlers.py
index 7a05c221..c7b91bfb 100644
--- a/src/core/handlers.py
+++ b/src/core/handlers.py
@@ -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):