mirror of
https://github.com/cwinfo/matterbridge.git
synced 2025-09-11 20:32:30 +00:00
Update dependencies (#1610)
* Update dependencies * Update module to go 1.17
This commit is contained in:
3
vendor/github.com/mattermost/mattermost-server/v5/model/slack_attachment.go
generated
vendored
3
vendor/github.com/mattermost/mattermost-server/v5/model/slack_attachment.go
generated
vendored
@@ -179,6 +179,9 @@ func ParseSlackAttachment(post *Post, attachments []*SlackAttachment) {
|
||||
attachment.Pretext = ParseSlackLinksToMarkdown(attachment.Pretext)
|
||||
|
||||
for _, field := range attachment.Fields {
|
||||
if field == nil {
|
||||
continue
|
||||
}
|
||||
if value, ok := field.Value.(string); ok {
|
||||
field.Value = ParseSlackLinksToMarkdown(value)
|
||||
}
|
||||
|
Reference in New Issue
Block a user