matrix-org / matrix-org/matrix-rust-sdk

Map `notifications.room` from the `m.room.power_levels` state event

Open
#5,238 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Rust
Stars
2.3k
Forks
500
Avg merge
1d 16h
Merged PRs (30d)
106

Description

In the context of https://github.com/element-hq/element-x-android/issues/4761, applications using the Rust SDK must be able to know the value of `notifications.room` from the `m.room.power_levels` state event.

This is currently not mapped in `RoomPowerLevels` object that the application can access.

See https://spec.matrix.org/latest/client-server-api/#mroompower_levels

Contributor guide

Open the contributing guide

Research direction

Start by locating the Rust SDK's RoomPowerLevels object and compare its mapped fields with the Matrix m.room.power_levels specification linked in the issue. Add the notifications.room value to the exposed mapping and verify that the object now provides the specified value.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.