We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7cb621 commit 3e811d6Copy full SHA for 3e811d6
1 file changed
app/email_utils.py
@@ -74,7 +74,7 @@
74
75
def get_noreply_address(user=None) -> str:
76
"""Full RFC 5322 formatted noreply address, e.g. '"SimpleLogin (noreply)" <noreply@sl.io>'"""
77
- if user and PartnerUser.get_by(user_id=user.id):
+ if user and user.flags and User.flags & User.FLAG_CREATED_FROM_PARTNER > 0:
78
return config.PARTNER_NOREPLY
79
return config.NOREPLY
80
0 commit comments