summaryrefslogtreecommitdiff
path: root/internal/ap/resolve.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-05-09 12:16:10 +0200
committerLibravatar GitHub <noreply@github.com>2023-05-09 11:16:10 +0100
commit0e29f1f5bb68a48d9b837d7f4e0a16370734955b (patch)
treef08d203ec8ca8aeea728e5251b1dc3956524b4f4 /internal/ap/resolve.go
parent[chore/performance] Make sender multiplier configurable (#1750) (diff)
downloadgotosocial-0e29f1f5bb68a48d9b837d7f4e0a16370734955b.tar.xz
[feature] Enable federation in/out of profile PropertyValue fields (#1722)
Co-authored-by: kim <grufwub@gmail.com> Co-authored-by: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>
Diffstat (limited to 'internal/ap/resolve.go')
-rw-r--r--internal/ap/resolve.go10
1 files changed, 5 insertions, 5 deletions
diff --git a/internal/ap/resolve.go b/internal/ap/resolve.go
index 8d116751c..ef4d0b50f 100644
--- a/internal/ap/resolve.go
+++ b/internal/ap/resolve.go
@@ -72,10 +72,10 @@ func ResolveStatusable(ctx context.Context, b []byte) (Statusable, error) {
return nil, newErrWrongType(err)
}
- NormalizeContent(statusable, rawStatusable)
- NormalizeAttachments(statusable, rawStatusable)
- NormalizeSummary(statusable, rawStatusable)
- NormalizeName(statusable, rawStatusable)
+ NormalizeIncomingContent(statusable, rawStatusable)
+ NormalizeIncomingAttachments(statusable, rawStatusable)
+ NormalizeIncomingSummary(statusable, rawStatusable)
+ NormalizeIncomingName(statusable, rawStatusable)
return statusable, nil
}
@@ -118,7 +118,7 @@ func ResolveAccountable(ctx context.Context, b []byte) (Accountable, error) {
return nil, newErrWrongType(err)
}
- NormalizeSummary(accountable, rawAccountable)
+ NormalizeIncomingSummary(accountable, rawAccountable)
return accountable, nil
}