remove useless 'group updated'

pull/288/head
Ryan ZHAO 5 years ago committed by nielsandriesse
parent 7b1840be90
commit ce3c275d1f

@ -117,9 +117,6 @@ const int32_t kGroupIdLength = 16;
updatedGroupInfoString = updatedGroupInfoString =
[updatedGroupInfoString stringByAppendingString:NSLocalizedString(@"GROUP_AVATAR_CHANGED", @"")]; [updatedGroupInfoString stringByAppendingString:NSLocalizedString(@"GROUP_AVATAR_CHANGED", @"")];
} }
if ([updatedGroupInfoString length] == 0) {
updatedGroupInfoString = NSLocalizedString(@"GROUP_UPDATED", @"");
}
NSSet *oldMembers = [NSSet setWithArray:_groupMemberIds]; NSSet *oldMembers = [NSSet setWithArray:_groupMemberIds];
NSSet *newMembers = [NSSet setWithArray:newModel.groupMemberIds]; NSSet *newMembers = [NSSet setWithArray:newModel.groupMemberIds];
@ -169,7 +166,9 @@ const int32_t kGroupIdLength = 16;
} }
} }
} }
if ([updatedGroupInfoString length] == 0) {
updatedGroupInfoString = NSLocalizedString(@"GROUP_UPDATED", @"");
}
return updatedGroupInfoString; return updatedGroupInfoString;
} }

Loading…
Cancel
Save