Sanitize FirstName and LastName fields of an object instead of the nickname when ShowFullName is set to false
Этот коммит содержится в:
@@ -20,9 +20,6 @@ func (o *ExtraMember) Sanitize(options map[string]bool) {
|
||||
if len(options) == 0 || !options["email"] {
|
||||
o.Email = ""
|
||||
}
|
||||
if len(options) == 0 || !options["fullname"] {
|
||||
o.Nickname = ""
|
||||
}
|
||||
}
|
||||
|
||||
type ChannelExtra struct {
|
||||
|
||||
Ссылка в новой задаче
Block a user