diff options
author | 2022-01-09 18:41:22 +0100 | |
---|---|---|
committer | 2022-01-09 18:41:22 +0100 | |
commit | dccf21dd87638320a687a0556c973cced541c945 (patch) | |
tree | 03dd737e3d44bdad52b6a2ac2f1e78ec876d2ba1 /internal/ap/interfaces.go | |
parent | compiling now (diff) | |
download | gotosocial-dccf21dd87638320a687a0556c973cced541c945.tar.xz |
tests are passing, but there's still much to be done
Diffstat (limited to 'internal/ap/interfaces.go')
-rw-r--r-- | internal/ap/interfaces.go | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/internal/ap/interfaces.go b/internal/ap/interfaces.go index 582465ec3..6edaa42ba 100644 --- a/internal/ap/interfaces.go +++ b/internal/ap/interfaces.go @@ -70,6 +70,7 @@ type Attachmentable interface { WithMediaType WithURL WithName + WithBlurhash } // Hashtaggable represents the minimum activitypub interface for representing a 'hashtag' tag. @@ -284,9 +285,10 @@ type WithMediaType interface { GetActivityStreamsMediaType() vocab.ActivityStreamsMediaTypeProperty } -// type withBlurhash interface { -// GetTootBlurhashProperty() vocab.TootBlurhashProperty -// } +// WithBlurhash represents an activity with TootBlurhashProperty +type WithBlurhash interface { + GetTootBlurhash() vocab.TootBlurhashProperty +} // type withFocalPoint interface { // // TODO |