matrix-org / matrix-org/matrix-spec

Ability to filter in v2 sync based on the msgtype of m.room.message events (SPEC-296)

Open
#135 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-Client-Server feature p2
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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.