1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-26 17:03:12 +03:00
This commit is contained in:
Michael Telatynski
2021-06-23 15:48:21 +01:00
parent e9007429dd
commit 02afcc7d4b

View File

@@ -2903,8 +2903,6 @@ export class Crypto extends EventEmitter {
* @param {Object} syncData the data from the 'MatrixClient.sync' event
*/
public async onSyncCompleted(syncData: ISyncData): Promise<void> {
const nextSyncToken = syncData.nextSyncToken;
this.deviceList.setSyncToken(syncData.nextSyncToken);
this.deviceList.saveIfDirty();