Fix cell layout when thread root is a poll

This commit is contained in:
ismailgulek
2022-01-18 23:41:36 +03:00
parent f3247d6396
commit 740cd65c95
10 changed files with 135 additions and 34 deletions
@@ -297,6 +297,12 @@ NSString *const URLPreviewDidUpdateNotification = @"URLPreviewDidUpdateNotificat
// do not consider this cell data if threads not enabled in the timeline
return NO;
}
if (roomDataSource.threadId)
{
// do not consider this cell data if in a thread view
return NO;
}
return super.hasThreadRoot;
}