mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-10 19:07:29 -06:00
move to ssb gofed fork (#298)
This commit is contained in:
parent
829a934d23
commit
09ef9e639e
799 changed files with 6458 additions and 2475 deletions
|
|
@ -22,10 +22,10 @@ import (
|
|||
"context"
|
||||
"encoding/json"
|
||||
|
||||
"github.com/go-fed/activity/pub"
|
||||
"github.com/go-fed/activity/streams"
|
||||
"github.com/go-fed/activity/streams/vocab"
|
||||
"github.com/stretchr/testify/suite"
|
||||
"github.com/superseriousbusiness/activity/pub"
|
||||
"github.com/superseriousbusiness/activity/streams"
|
||||
"github.com/superseriousbusiness/activity/streams/vocab"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/ap"
|
||||
"github.com/superseriousbusiness/gotosocial/testrig"
|
||||
)
|
||||
|
|
@ -49,6 +49,10 @@ func document1() vocab.ActivityStreamsDocument {
|
|||
dBlurhash.Set("UxQ0EkRP_4tRxtRjWBt7%hozM_ayV@oLf6WB")
|
||||
d.SetTootBlurhash(dBlurhash)
|
||||
|
||||
dSensitive := streams.NewActivityStreamsSensitiveProperty()
|
||||
dSensitive.AppendXMLSchemaBoolean(true)
|
||||
d.SetActivityStreamsSensitive(dSensitive)
|
||||
|
||||
return d
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue