mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-16 12:33:00 -06:00
[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>
This commit is contained in:
parent
cbb9e2d3f0
commit
0e29f1f5bb
180 changed files with 9278 additions and 1550 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue