Remove session reset from conversation settings
This commit is contained in:
parent
0902b695d7
commit
c0a5bf263f
|
@ -637,18 +637,6 @@ const CGFloat kIconViewLength = 24;
|
||||||
// Block Conversation section.
|
// Block Conversation section.
|
||||||
|
|
||||||
if (!isNoteToSelf && [self.thread isKindOfClass:TSContactThread.class]) {
|
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(
|
mainSection.footerTitle = NSLocalizedString(
|
||||||
@"BLOCK_USER_BEHAVIOR_EXPLANATION", @"An explanation of the consequences of blocking another user.");
|
@"BLOCK_USER_BEHAVIOR_EXPLANATION", @"An explanation of the consequences of blocking another user.");
|
||||||
|
|
||||||
|
@ -1188,11 +1176,6 @@ static CGRect oldframe;
|
||||||
[self.conversationSettingsViewDelegate conversationSettingsDidRequestConversationSearch:self];
|
[self.conversationSettingsViewDelegate conversationSettingsDidRequestConversationSearch:self];
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void)resetSecureSession
|
|
||||||
{
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
#pragma mark - Notifications
|
#pragma mark - Notifications
|
||||||
|
|
||||||
- (void)identityStateDidChange:(NSNotification *)notification
|
- (void)identityStateDidChange:(NSNotification *)notification
|
||||||
|
|
Loading…
Reference in New Issue