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
-3
View File
@@ -287,9 +287,6 @@ def ab_ABContactAdd(req: web.Request, header: Any, action: Any, bs: BackendSessi
return render(req, 'msn:abservice/Fault.emailmissingatsign.xml', status = 500)
elif '.' not in email:
return render(req, 'msn:abservice/Fault.emailmissingdot.xml', status = 500)
# fuck it we're inventing our own ABCH error codes today
if email == user.email:
return render(req, 'msn:abservice/Fault.cantaddyourself.xml', status = 500)
contact_uuid = backend.util_get_uuid_from_email(email)
if contact_uuid is None: