diff options
| author | 2025-06-13 14:08:25 +0200 | |
|---|---|---|
| committer | 2025-06-13 14:08:25 +0200 | |
| commit | 933a9091ebfbfb49a947ba5bf9cfa44f347ece06 (patch) | |
| tree | f170509a12f25cdcd30d11b1d89431f7e3f57b30 | |
| parent | [bugfix] process account delete synchronously to prevent OOM (#4260) (diff) | |
| download | gotosocial-933a9091ebfbfb49a947ba5bf9cfa44f347ece06.tar.xz | |
[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 <tobi.smethurst@protonmail.com>
Co-committed-by: tobi <tobi.smethurst@protonmail.com>
| -rw-r--r-- | internal/processing/fedi/collections.go | 4 |
1 files 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. |
