Commit 3647524a authored by Philipp Hörist's avatar Philipp Hörist

Presence: Dont show SubscriptionRequestWindow on auto approve

parent 40ea0c9d
Pipeline #4299 passed with stages
in 2 minutes and 30 seconds
......@@ -250,6 +250,8 @@ class Presence(BaseModule):
if auto_auth or is_transport or jid in self.jids_for_auto_auth:
self.send_presence(fjid, 'subscribed')
self._log.info('Auto respond with subscribed: %s', jid)
return
status = (properties.status or
_('I would like to add you to my roster.'))
......
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