diff options
| author | 2024-01-26 14:17:10 +0100 | |
|---|---|---|
| committer | 2024-02-14 14:05:17 +0100 | |
| commit | a3aa6042d7516b230a3eaac7b65c92202fa60a34 (patch) | |
| tree | b979a477bc43a51c46b1b6964f7696e26760ba68 /internal/ap | |
| parent | [bugfix] Don't return Internal Server Error when searching for URIs that don'... (diff) | |
| download | gotosocial-a3aa6042d7516b230a3eaac7b65c92202fa60a34.tar.xz | |
[bugfix] Don't return Account or Status if new and dereferencing failed, other small fixes (#2563)
* tidy up account, status, webfingering logic a wee bit
* go fmt
* invert published check
* alter resp initialization
* get Published from account in typeutils
* don't instantiate error for no darn good reason
* shadow err
* don't repeat error codes in wrapped errors
* don't wrap error unnecessarily
Diffstat (limited to 'internal/ap')
| -rw-r--r-- | internal/ap/interfaces.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/ap/interfaces.go b/internal/ap/interfaces.go index f548dff0b..45ddbfba7 100644 --- a/internal/ap/interfaces.go +++ b/internal/ap/interfaces.go @@ -163,6 +163,7 @@ type Accountable interface { WithManuallyApprovesFollowers WithEndpoints WithTag + WithPublished } // Statusable represents the minimum activitypub interface for representing a 'status'. |
