diff options
author | 2024-09-10 12:33:32 +0000 | |
---|---|---|
committer | 2024-09-10 12:33:32 +0000 | |
commit | 3254ef1923b4c41205b91b8415a3897102f72359 (patch) | |
tree | 25d10bcf96555a5bb9c1d68bfa0cec57444fca1a /internal/federation/dereferencing/thread.go | |
parent | [feature] Implement exclusive lists (#3280) (diff) | |
download | gotosocial-3254ef1923b4c41205b91b8415a3897102f72359.tar.xz |
[chore] status dereferencing improvements (#3255)
* search for mentions also by username,domain in status deref, handle deleted statuses in enrichStatusSafely()
* return d.enrichStatusSafely() directly
Diffstat (limited to 'internal/federation/dereferencing/thread.go')
-rw-r--r-- | internal/federation/dereferencing/thread.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/federation/dereferencing/thread.go b/internal/federation/dereferencing/thread.go index ed2c1a43f..2be8bfe67 100644 --- a/internal/federation/dereferencing/thread.go +++ b/internal/federation/dereferencing/thread.go @@ -237,7 +237,7 @@ func (d *Dereferencer) DereferenceStatusDescendants(ctx context.Context, usernam // Keep track of already dereferenced collection // pages for this thread to prevent recursion. - derefdPages := make(map[string]struct{}, 10) + derefdPages := make(map[string]struct{}, 16) // frame represents a single stack frame when // iteratively derefencing status descendants. |