Merge branch 'master' of github.com:matrix-org/dendrite into neilalexander/xsigningupload

This commit is contained in:
Neil Alexander 2021-08-02 13:11:35 +01:00
commit 798549c10a
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -33,7 +33,7 @@ func Deactivate(
return *errRes
}
localpart, _, err := gomatrixserverlib.SplitID('@', login.User)
localpart, _, err := gomatrixserverlib.SplitID('@', login.Username())
if err != nil {
util.GetLogger(req.Context()).WithError(err).Error("gomatrixserverlib.SplitID failed")
return jsonerror.InternalServerError()