matrix-org / matrix-org/mjolnir

Rule to Prevent New Users from Posting Images

Open
#579 3 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
445
Forks
75
Avg merge
2d 44m
Merged PRs (30d)
3

Description

I am not aware of a way to prevent new users from posting images until after a certain amount of time passes.
I couldn’t find a way to do so in the example config file.
Is this currently possible, and if not could this functionality be added?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the example config and the existing moderation-rule entry points to determine how new users and image posts are represented. Clarify the time threshold and enforcement behavior, then identify the relevant tests or add coverage showing that users below the threshold cannot post images and older users can.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.