matrix-org / matrix-org/matrix-spec
Ability to filter in v2 sync based on the msgtype of m.room.message events (SPEC-296)
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 330
- Forks
- 150
- Avg merge
- 2h 21m
- Merged PRs (30d)
- 3
Description
In order to display indexes of 'attachments' in matrix clients, we need the ability to ask the server to provide a filtered event stream of m.room.message events which have a content.msgtype of not m.text or m.emote (or alternatively, explicitly including m.file, m.image, m.video and m.audio). This needs an extension to the v2 filter API to happen.
(Imported from https://matrix.org/jira/browse/SPEC-296)
(Reported by @ara4n)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the Matrix v2 filter API and the existing event filtering rules. Define how msgtype-based inclusion or exclusion should be represented for m.room.message events, then update the specification and any examples or validation needed. Done means the API clearly supports selecting attachment event types without including m.text or m.emote.
Written by the indexing model from the issue text.
Assessment
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100