Threads: added support to notifications count (MSC3773)

This commit is contained in:
Gil Eluard
2022-11-01 22:57:39 +01:00
parent 3b8090747c
commit 3c0562c24e
4 changed files with 10 additions and 13 deletions
@@ -2185,11 +2185,11 @@ static NSArray<NSNumber*> *initialSyncSilentErrorsHTTPStatusCodes;
// Set that limit in the filter
if (syncWithLazyLoadOfRoomMembers)
{
syncFilter = [MXFilterJSONModel syncFilterForLazyLoadingWithMessageLimit:limit];
syncFilter = [MXFilterJSONModel syncFilterForLazyLoadingWithMessageLimit:limit unreadThreadNotifications:YES];
}
else
{
syncFilter = [MXFilterJSONModel syncFilterWithMessageLimit:limit];
syncFilter = [MXFilterJSONModel syncFilterWithMessageLimit:limit unreadThreadNotifications:YES];
}
// TODO: We could extend the filter to match other settings (self.showAllEventsInRoomHistory,