Skip to content

Allow trusted-flair users to bypass link muting#174

Merged
11k merged 1 commit into
masterfrom
feat/mutelinks-trusted-flair
May 7, 2026
Merged

Allow trusted-flair users to bypass link muting#174
11k merged 1 commit into
masterfrom
feat/mutelinks-trusted-flair

Conversation

@11k

@11k 11k commented May 7, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add configurable trustedFlairs list to !mutelinks so users with the trusted flair (flair4 by default) can post links without being muted in on, all, and repeat modes
  • Wire the list through config.mutelinks.trustedFlairs and default it to ["flair4"] in sample.config.json
  • Cover the new behavior with tests for each mode, the configurable identifier, the empty-list default, and multi-flair lists

Test plan

  • npm test passes (202 passing, 4 pending)
  • Smoke test against a local DGG chat: !mutelinks all, then post a link from a flair4 account (not muted) and a non-trusted account (muted)

Add a configurable trustedFlairs list to the !mutelinks command so users
with the trusted flair (flair4 by default) can post links without being
muted across all link-muting modes (on, all, repeat).
@11k 11k added the enhancement New feature or request label May 7, 2026
@11k 11k merged commit a3da788 into master May 7, 2026
2 checks passed
@11k 11k deleted the feat/mutelinks-trusted-flair branch May 7, 2026 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant