matrix-org / matrix-org/matrix-js-sdk

Sentinels have incorrect power levels

Open
#1,706 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.2k
Forks
704
Avg merge
1d 20h
Merged PRs (30d)
40

Description

`event.sender` has PL0 on the tip event of the room whilst `room.getMember(event.getSender())` has PL100 - looks like sentinels don't correctly track powerlevels

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 reproducing the reported difference between event.sender and room.getMember(event.getSender()) on a room's tip event. Trace how sentinels track power levels and verify that the two lookups agree for the same sender.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.