From 933a9091ebfbfb49a947ba5bf9cfa44f347ece06 Mon Sep 17 00:00:00 2001 From: tobi Date: Fri, 13 Jun 2025 14:08:25 +0200 Subject: [PATCH] [bugfix] Fix nil ptr dereffing instance acct outbox (#4267) Well well well it was something silly, no surprise there! Closes https://codeberg.org/superseriousbusiness/gotosocial/issues/4266 Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4267 Co-authored-by: tobi Co-committed-by: tobi --- internal/processing/fedi/collections.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/processing/fedi/collections.go b/internal/processing/fedi/collections.go index 5f2615b64..ae4860b15 100644 --- a/internal/processing/fedi/collections.go +++ b/internal/processing/fedi/collections.go @@ -83,8 +83,8 @@ func (p *Processor) OutboxGet( switch { - case *receivingAcct.Settings.HideCollections || - receivingAcct.IsInstance(): + case receivingAcct.IsInstance() || + *receivingAcct.Settings.HideCollections: // If account that hides collections, or instance // account (ie., can't post / have relationships), // just return barest stub of collection.