Commit 747a6e94 authored by Lance Stout's avatar Lance Stout

Auto-subscribe to whitelisted JIDs if auto_subscribe is true

parent cebc798e
......@@ -746,6 +746,8 @@ class BaseXMPP(XMLStream):
item = self.roster[pres['to']][pres['from']]
if item['whitelisted']:
if roster.auto_subscribe:
elif roster.auto_authorize:
if roster.auto_subscribe:
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