Commit 7023f7b9 authored by Philipp Hörist's avatar Philipp Hörist

Presence: Don't auto subscribe to transports

parent 340b8bb2
......@@ -258,7 +258,7 @@ def _subscribe_received(self, _con, _stanza, properties):
# We'll reply after roster push result
raise nbxmpp.NodeProcessed
if auto_auth or is_transport or jid in self.jids_for_auto_auth:
if auto_auth or jid in self.jids_for_auto_auth:
self.send_presence(fjid, 'subscribed')
self._log.info('Auto respond with subscribed: %s', jid)
return
......
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