Merge branch 'master' into develop

This commit is contained in:
RiotRobot
2023-03-28 14:30:52 +01:00
15 changed files with 186 additions and 125 deletions
+1 -1
View File
@@ -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;
}