updated deps
This commit is contained in:
1
vendor/maunium.net/go/mautrix/event/content.go
generated
vendored
1
vendor/maunium.net/go/mautrix/event/content.go
generated
vendored
@@ -157,6 +157,7 @@ func (content *Content) MarshalJSON() ([]byte, error) {
|
||||
return json.Marshal(content.Raw)
|
||||
}
|
||||
|
||||
// Deprecated: use errors.Is directly
|
||||
func IsUnsupportedContentType(err error) bool {
|
||||
return errors.Is(err, ErrUnsupportedContentType)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user