Respond to CR.

This commit is contained in:
Matthew Chen 2020-01-27 11:35:07 -03:00
parent 63169d988b
commit 855dd48c09

View File

@ -206,9 +206,11 @@ public class GroupsV2Changes {
}
if let action = changeActionsProto.modifyTitle {
newGroupName = nil
if let titleData = action.title {
newGroupName = try groupParams.decryptString(titleData)
} else {
// Other client cleared the group title.
newGroupName = nil
}
}