Threads: added support to read receipts (MSC3771)

- Update after review
This commit is contained in:
Gil Eluard
2022-11-02 15:23:54 +01:00
parent 3b8090747c
commit 7f0b88ab2b
2 changed files with 3 additions and 17 deletions
@@ -2365,7 +2365,7 @@ typedef NS_ENUM (NSUInteger, MXKRoomDataSourceError) {
MXKRoomBubbleCellData *cellData = [self cellDataOfEventWithEventId:eventId];
if (cellData)
{
if (readThreadIds[i] == [NSNull null])
if ([readThreadIds[i] isEqualToString:kMXEventUnthreaded])
{
// Unthreaded RR must be propagated through all threads.
[self.mxSession.threadingService allThreadsInRoomWithId:self.roomId onlyParticipated:NO completion:^(NSArray<id<MXThreadProtocol>> *threads) {