Merge branch 'master' into develop
This commit is contained in:
commit
0475e7107f
15 changed files with 186 additions and 125 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue