diff --git a/extras/jsonrpc/daemon_types.go b/extras/jsonrpc/daemon_types.go index b56160f..826b1c7 100644 --- a/extras/jsonrpc/daemon_types.go +++ b/extras/jsonrpc/daemon_types.go @@ -443,10 +443,12 @@ const ( type SpecialContentType string //IsContentSpecial returns true if the claim is of a special content type -func (c *Claim) IsContentSpecial(specialTag SpecialContentType) bool { +func (c *Claim) IsContentSpecial(specialTags ...SpecialContentType) bool { for _, t := range c.Value.GetTags() { - if strings.Contains(t, string(specialTag)) { - return true + for _, ct := range specialTags { + if strings.Contains(t, string(ct)) { + return true + } } } return false