0.5.23 - remove restriction on adding yourself and add more emails to the blocklist

This commit is contained in:
Athena Funderburg
2026-06-22 17:43:21 +00:00
parent be5a41311d
commit ce124af489
13 changed files with 37 additions and 33 deletions
+2 -2
View File
@@ -492,7 +492,7 @@ class MSNPCtrlNS(MSNPCtrl):
if email_domain in restricted_emails or email_domain in disposable_emails:
self.send_reply('NOT', encode_payload(PAYLOAD_MSG_10,
email = email, icon = '', url = 'https://crosstalk.im/alias-prep',
msg = "Your e-mail address contains a disallowed domain and needs to be changed before you can log in. Click this alert to learn more.",
msg = "Your e-mail address contains a blacklisted domain and needs to be changed before you can log in. Click this alert to learn more. Change your e-mail in your CrossTalk account settings.",
))
self.close()
return
@@ -1198,7 +1198,7 @@ class MSNPCtrlNS(MSNPCtrl):
send_bpr_info = False
if contact_uuid is None or contact_uuid == user.uuid:
if contact_uuid is None:
if dialect >= 10:
self.send_reply(Err.InvalidUser2, trid)
else: