Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure all configured appLabelers are applied for logged out users #5784

Merged
merged 2 commits into from
Oct 17, 2024

Conversation

estrattonbailey
Copy link
Member

BskyAgent.appLablers is a static property that's configured via configureAdditionalModerationAuthorities called in our session code. This was working for logged in users because BskyAgent internally runs this same bit of code when we call getPreferences. But for logged out users, we were only configuring the Bluesky labeler by default.

This PR uses the same source of truth for logged out users as for logged in users: BskyAgent.appLabelers. It applies the same DEFAULT_LOGGED_OUT_LABEL_PREFERENCES config as well.

@arcalinea arcalinea temporarily deployed to mod-pwi - social-app PR #5784 October 17, 2024 00:52 — with Render Destroyed
Copy link

Old size New size Diff
7.9 MB 7.9 MB 31 B (0.00%)

@arcalinea arcalinea temporarily deployed to mod-pwi - social-app PR #5784 October 17, 2024 00:59 — with Render Destroyed
@estrattonbailey estrattonbailey merged commit 3d9663d into main Oct 17, 2024
6 checks passed
estrattonbailey added a commit that referenced this pull request Oct 17, 2024
…5784)

* Ensure all configured appLabelers are applied for logged out users

* Formatting

(cherry picked from commit 3d9663d)
estrattonbailey added a commit that referenced this pull request Oct 17, 2024
…5784)

* Ensure all configured appLabelers are applied for logged out users

* Formatting

(cherry picked from commit 3d9663d)
rshigg pushed a commit to rshigg/social-app that referenced this pull request Nov 2, 2024
…luesky-social#5784)

* Ensure all configured appLabelers are applied for logged out users

* Formatting
rshigg pushed a commit to rshigg/social-app that referenced this pull request Nov 2, 2024
…luesky-social#5784)

* Ensure all configured appLabelers are applied for logged out users

* Formatting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants