mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[bugfix] Sanitize incoming PropertyValue fields (#2722)
This commit is contained in:
@ -387,6 +387,12 @@ type WithName interface {
|
||||
SetActivityStreamsName(vocab.ActivityStreamsNameProperty)
|
||||
}
|
||||
|
||||
// WithValue represents an activity with SchemaValueProperty
|
||||
type WithValue interface {
|
||||
GetSchemaValue() vocab.SchemaValueProperty
|
||||
SetSchemaValue(vocab.SchemaValueProperty)
|
||||
}
|
||||
|
||||
// WithImage represents an activity with ActivityStreamsImageProperty
|
||||
type WithImage interface {
|
||||
GetActivityStreamsImage() vocab.ActivityStreamsImageProperty
|
||||
|
Reference in New Issue
Block a user