File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
MatrixSDK/Crypto/Data/Store/MXRealmCryptoStore Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -1132,7 +1132,7 @@ - (void)removeOutboundGroupSessionWithRoomId:(NSString*)roomId
11321132{
11331133 RLMRealm *realm = self.realm ;
11341134 [realm transactionWithName: @" [MXRealmCryptoStore] removeOutboundGroupSessionWithRoomId" block: ^{
1135- RLMResults<MXRealmOlmOutboundGroupSession *> *realmSessions = [MXRealmOlmOutboundGroupSession objectInRealm : realm forPrimaryKey: roomId];
1135+ RLMResults<MXRealmOlmOutboundGroupSession *> *realmSessions = [MXRealmOlmOutboundGroupSession objectsInRealm : realm where: @" roomId = %@ " , roomId];
11361136
11371137 [realm deleteObjects: realmSessions];
11381138 MXLogDebug (@" [MXRealmCryptoStore] removeOutboundGroupSessionWithRoomId%@ : removed %lu entries" , roomId, realmSessions.count );
You can’t perform that action at this time.
0 commit comments