Changes for v3.69.0
This commit is contained in:
committed by
RiotRobot
parent
2d1d1fb585
commit
c30b2637c5
@@ -71,7 +71,7 @@ export const recordClientInformation = async (
|
||||
* client information for devices NOT in this list will be removed
|
||||
*/
|
||||
export const pruneClientInformation = (validDeviceIds: string[], matrixClient: MatrixClient): void => {
|
||||
Object.values(matrixClient.store.accountData).forEach((event) => {
|
||||
Array.from(matrixClient.store.accountData.values()).forEach((event) => {
|
||||
if (!event.getType().startsWith(clientInformationEventPrefix)) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user