Documentation
¶
Overview ¶
Package normalization converts validated Mattermost data into safe output models.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NormalizePosts ¶
func NormalizePosts(posts []mattermost.Post, users map[string]mattermost.User, myUserID, serverURL string, options presentation.Options) ([]output.Message, []output.Redaction, error)
NormalizePosts safely prepares validated posts for presentation.
func PostUserIDs ¶
func PostUserIDs(posts []mattermost.Post) []string
PostUserIDs returns unique author and reaction actor IDs in encounter order.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.