mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-07 06:53:09 -06:00
🐛 Post merge problems.
This commit is contained in:
parent
3b1d3b75ea
commit
931df9237f
|
|
@ -968,6 +968,7 @@ func completeRegistration(
|
||||||
Medium: threePid.Medium,
|
Medium: threePid.Medium,
|
||||||
ThreePID: threePid.Address,
|
ThreePID: threePid.Address,
|
||||||
Localpart: accRes.Account.Localpart,
|
Localpart: accRes.Account.Localpart,
|
||||||
|
ServerName: accRes.Account.ServerName,
|
||||||
}, &struct{}{})
|
}, &struct{}{})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return util.JSONResponse{
|
return util.JSONResponse{
|
||||||
|
|
|
||||||
|
|
@ -80,8 +80,6 @@ func newSyncRequest(req *http.Request, device userapi.Device, syncDB storage.Dat
|
||||||
filter.AccountData.Limit = math.MaxInt32
|
filter.AccountData.Limit = math.MaxInt32
|
||||||
filter.Room.AccountData.Limit = math.MaxInt32
|
filter.Room.AccountData.Limit = math.MaxInt32
|
||||||
}
|
}
|
||||||
// Ignore state limit filter so that e.g. correct room name appears on clients.
|
|
||||||
filter.Room.State.Limit = math.MaxInt32
|
|
||||||
|
|
||||||
logger := util.GetLogger(req.Context()).WithFields(logrus.Fields{
|
logger := util.GetLogger(req.Context()).WithFields(logrus.Fields{
|
||||||
"user_id": device.UserID,
|
"user_id": device.UserID,
|
||||||
|
|
|
||||||
|
|
@ -625,7 +625,7 @@ func (a *UserInternalAPI) PerformAccountDeactivation(ctx context.Context, req *a
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
threepids, err := a.DB.GetThreePIDsForLocalpart(ctx, req.Localpart)
|
threepids, err := a.DB.GetThreePIDsForLocalpart(ctx, req.Localpart, serverName)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue