|
|
@ -604,10 +604,12 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
|
[self showUpdateGroupView:UpdateGroupMode_EditGroupName];
|
|
|
|
[self showUpdateGroupView:UpdateGroupMode_EditGroupName];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
|
|
|
|
if (self.contactsManager.supportsContactEditing) {
|
|
|
|
[self presentContactViewController];
|
|
|
|
[self presentContactViewController];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
- (UIImageView *)viewForIconWithName:(NSString *)iconName
|
|
|
|
- (UIImageView *)viewForIconWithName:(NSString *)iconName
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -678,7 +680,8 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
|
- (void)presentContactViewController
|
|
|
|
- (void)presentContactViewController
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if (!self.contactsManager.supportsContactEditing) {
|
|
|
|
if (!self.contactsManager.supportsContactEditing) {
|
|
|
|
DDLogWarn(@"%@ Contact editing not supported", self.tag);
|
|
|
|
DDLogError(@"%@ Contact editing not supported", self.tag);
|
|
|
|
|
|
|
|
OWSAssert(NO);
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (![self.thread isKindOfClass:[TSContactThread class]]) {
|
|
|
|
if (![self.thread isKindOfClass:[TSContactThread class]]) {
|
|
|
|