Skip to content
Snippets Groups Projects
Unverified Commit bf7e63b8 authored by f00wl's avatar f00wl
Browse files

fix typo

parent bba07709
No related branches found
No related tags found
No related merge requests found
......@@ -145,14 +145,14 @@ class SynapseApplication(base.SAMLApplication):
""" Delete a user account from Matrix
"""
mxid = "@" + profile.username + ":" + profile.service.config.get("domain")
self.api(profile.service, "post", "v1/dasactivate/" + mxid, data=dict(erase=False))
self.api(profile.service, "post", "v1/desactivate/" + mxid, data=dict(erase=False))
@base.hook(models.Profile.START, "purge", "purge-blocked", "purge-deleted")
def delete_with_purging(self, profile):
""" Purge a user account from Matrix
"""
mxid = "@" + profile.username + ":" + profile.service.config.get("domain")
self.api(profile.service, "post", "v1/dasactivate/" + mxid, data=dict(erase=True))
self.api(profile.service, "post", "v1/desactivate/" + mxid, data=dict(erase=True))
@register("writefreely")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment