mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2025-06-05 21:59:39 +02:00
[chore] Tiny tweak to ApprovedByURI (#3234)
This commit is contained in:
@@ -523,7 +523,9 @@ func (d *Dereferencer) enrichStatus(
|
||||
//
|
||||
// If a remote has in the meantime retracted its approval,
|
||||
// the next call to 'isPermittedStatus' will catch that.
|
||||
latestStatus.ApprovedByURI = status.ApprovedByURI
|
||||
if latestStatus.ApprovedByURI == "" && status.ApprovedByURI != "" {
|
||||
latestStatus.ApprovedByURI = status.ApprovedByURI
|
||||
}
|
||||
|
||||
// Check if this is a permitted status we should accept.
|
||||
// Function also sets "PendingApproval" bool as necessary.
|
||||
|
Reference in New Issue
Block a user