diff options
author | 2025-01-23 17:18:23 +0000 | |
---|---|---|
committer | 2025-01-23 18:18:23 +0100 | |
commit | 9333bbc4d0d5ae46c72fca1f5b1aacb3c0a7653e (patch) | |
tree | e7ccd1dc3abff5386e0b86e6baf659c9aa3b55a5 /internal/ap/interfaces.go | |
parent | [feature] Add warning about `trusted-proxies` to make config easier (#3675) (diff) | |
download | gotosocial-9333bbc4d0d5ae46c72fca1f5b1aacb3c0a7653e.tar.xz |
[feature] Serve bot accounts over AP as Service instead of Person (#3672)
* pepis
* oopsie doopsie
* bollocks
Diffstat (limited to 'internal/ap/interfaces.go')
-rw-r--r-- | internal/ap/interfaces.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/internal/ap/interfaces.go b/internal/ap/interfaces.go index 1f08fde37..fdd5e4a0b 100644 --- a/internal/ap/interfaces.go +++ b/internal/ap/interfaces.go @@ -188,6 +188,7 @@ type Accountable interface { WithTag WithPublished WithUpdated + WithImage } // Statusable represents the minimum activitypub interface for representing a 'status'. @@ -439,6 +440,7 @@ type WithValue interface { // WithImage represents an activity with ActivityStreamsImageProperty type WithImage interface { GetActivityStreamsImage() vocab.ActivityStreamsImageProperty + SetActivityStreamsImage(vocab.ActivityStreamsImageProperty) } // WithSummary represents an activity with ActivityStreamsSummaryProperty |