From 8db281e42f638f2d4532b980e51b2192b5a36e05 Mon Sep 17 00:00:00 2001 From: Ryan Zhao Date: Thu, 21 Apr 2022 17:12:04 +1000 Subject: [PATCH] hide disappearing message settings when current thread is blocked --- .../Settings/OWSConversationSettingsViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Session/Conversations/Settings/OWSConversationSettingsViewController.m b/Session/Conversations/Settings/OWSConversationSettingsViewController.m index 60244cc88..7e6066e66 100644 --- a/Session/Conversations/Settings/OWSConversationSettingsViewController.m +++ b/Session/Conversations/Settings/OWSConversationSettingsViewController.m @@ -327,7 +327,7 @@ CGFloat kIconViewLength = 24; }]]; // Disappearing messages - if (![self isOpenGroup]) { + if (![self isOpenGroup] && !self.thread.isBlocked) { [section addItem:[OWSTableItem itemWithCustomCellBlock:^{ UITableViewCell *cell = [OWSTableItem newCell]; OWSConversationSettingsViewController *strongSelf = weakSelf;