hide disappearing message settings when current thread is blocked

pull/614/head
Ryan Zhao 4 years ago
parent 8557604064
commit 8db281e42f

@ -327,7 +327,7 @@ CGFloat kIconViewLength = 24;
}]]; }]];
// Disappearing messages // Disappearing messages
if (![self isOpenGroup]) { if (![self isOpenGroup] && !self.thread.isBlocked) {
[section addItem:[OWSTableItem itemWithCustomCellBlock:^{ [section addItem:[OWSTableItem itemWithCustomCellBlock:^{
UITableViewCell *cell = [OWSTableItem newCell]; UITableViewCell *cell = [OWSTableItem newCell];
OWSConversationSettingsViewController *strongSelf = weakSelf; OWSConversationSettingsViewController *strongSelf = weakSelf;

Loading…
Cancel
Save