Display redacted events only if threads enabled

This commit is contained in:
ismailgulek
2022-01-28 04:31:44 +03:00
parent cf3f7e62a7
commit b2c34fe37c
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ static NSString *const kEventFormatterTimeFormat = @"HH:mm";
if (event.isRedactedEvent)
{
// Check whether the event is a thread root or redacted information is required
if ([mxSession.threadingService isEventThreadRoot:event]
if ((RiotSettings.shared.enableThreads && [mxSession.threadingService isEventThreadRoot:event])
|| self.settings.showRedactionsInRoomHistory)
{
UIFont *font = self.defaultTextFont;