Skip to content

Commit

Permalink
MXCryptoStore: Stop duplicating devices in the store
Browse files Browse the repository at this point in the history
  • Loading branch information
manuroe committed Dec 18, 2018
1 parent f782632 commit 1278e81
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1226,7 +1226,7 @@ + (RLMRealm*)realmForUser:(NSString*)userId
[self cleanDuplicatedDevicesInRealm:realm];
NSUInteger after = [MXRealmDeviceInfo allObjectsInRealm:realm].count;

NSLog(@"[MXRealmCryptoStore] Migration from schema #7 -> #8 completed. There is now %@ devices. It was %@ before. %@ devices has been removed.", @(after), @(before), @(before - after));
NSLog(@"[MXRealmCryptoStore] Migration from schema #7 -> #8 completed. There are now %@ devices. There were %@ before. %@ devices have been removed.", @(after), @(before), @(before - after));
}

// Wait for completion of other operations on this realm launched from other threads
Expand Down

0 comments on commit 1278e81

Please sign in to comment.