MM-42201: Enforce group is not the same as username. (#19660)
* MM-42201: Enforce group is not the same as username. * MM-42201: Adjust test for change to translation id.
Этот коммит содержится в:
@@ -211,6 +211,13 @@ func (group *Group) IsValidName() *AppError {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (group *Group) GetName() string {
|
||||
if group.Name == nil {
|
||||
return ""
|
||||
}
|
||||
return *group.Name
|
||||
}
|
||||
|
||||
func (group *Group) GetRemoteId() string {
|
||||
if group.RemoteId == nil {
|
||||
return ""
|
||||
|
||||
Ссылка в новой задаче
Block a user