Remove session reset from conversation settings

This commit is contained in:
nielsandriesse 2020-12-09 09:59:40 +11:00
parent 0902b695d7
commit c0a5bf263f

View file

@ -637,18 +637,6 @@ const CGFloat kIconViewLength = 24;
// Block Conversation section.
if (!isNoteToSelf && [self.thread isKindOfClass:TSContactThread.class]) {
[mainSection addItem:[OWSTableItem
itemWithCustomCellBlock:^{
return [weakSelf
disclosureCellWithName:@"Reset Secure Session"
iconName:@"system_message_security"
accessibilityIdentifier:ACCESSIBILITY_IDENTIFIER_WITH_NAME(
OWSConversationSettingsViewController, @"reset_secure_ession")];
}
actionBlock:^{
[weakSelf resetSecureSession];
}]];
mainSection.footerTitle = NSLocalizedString(
@"BLOCK_USER_BEHAVIOR_EXPLANATION", @"An explanation of the consequences of blocking another user.");
@ -1188,11 +1176,6 @@ static CGRect oldframe;
[self.conversationSettingsViewDelegate conversationSettingsDidRequestConversationSearch:self];
}
- (void)resetSecureSession
{
}
#pragma mark - Notifications
- (void)identityStateDidChange:(NSNotification *)notification