MM-36446: Omit Filenames from Post JSON. (#17985)
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
7be61af24f
Коммит
e538604345
@@ -92,7 +92,7 @@ type Post struct {
|
|||||||
propsMu sync.RWMutex `db:"-"` // Unexported mutex used to guard Post.Props.
|
propsMu sync.RWMutex `db:"-"` // Unexported mutex used to guard Post.Props.
|
||||||
Props StringInterface `json:"props"` // Deprecated: use GetProps()
|
Props StringInterface `json:"props"` // Deprecated: use GetProps()
|
||||||
Hashtags string `json:"hashtags"`
|
Hashtags string `json:"hashtags"`
|
||||||
Filenames StringArray `json:"filenames,omitempty"` // Deprecated, do not use this field any more
|
Filenames StringArray `json:"-"` // Deprecated, do not use this field any more
|
||||||
FileIds StringArray `json:"file_ids,omitempty"`
|
FileIds StringArray `json:"file_ids,omitempty"`
|
||||||
PendingPostId string `json:"pending_post_id" db:"-"`
|
PendingPostId string `json:"pending_post_id" db:"-"`
|
||||||
HasReactions bool `json:"has_reactions,omitempty"`
|
HasReactions bool `json:"has_reactions,omitempty"`
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user