mirror of
https://git.ugnet.gay/CrossTalk/azul.git
synced 2026-07-12 21:25:48 +00:00
0.5.23 - remove restriction on adding yourself and add more emails to the blocklist
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user