diff options
Diffstat (limited to 'vendor/github.com/nlopes/slack/block_conv.go')
-rw-r--r-- | vendor/github.com/nlopes/slack/block_conv.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/github.com/nlopes/slack/block_conv.go b/vendor/github.com/nlopes/slack/block_conv.go index b9e61a95..9f5d52c7 100644 --- a/vendor/github.com/nlopes/slack/block_conv.go +++ b/vendor/github.com/nlopes/slack/block_conv.go @@ -60,6 +60,9 @@ func (b *Blocks) UnmarshalJSON(data []byte) error { block = &ImageBlock{} case "section": block = &SectionBlock{} + case "rich_text": + // for now ignore the (complex) content of rich_text blocks until we can fully support it + continue default: block = &UnknownBlock{} } |