mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-21 05:43:09 -06:00
Mark device lists as fresh when we persist
This commit is contained in:
parent
74c4327702
commit
9e328c42b8
|
|
@ -290,5 +290,9 @@ func (u *DeviceListUpdater) updateDeviceList(ctx context.Context, res *gomatrixs
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return u.db.StoreRemoteDeviceKeys(ctx, keys)
|
err := u.db.StoreRemoteDeviceKeys(ctx, keys)
|
||||||
|
if err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
|
return u.db.MarkDeviceListStale(ctx, res.UserID, false)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue