Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve types for IPowerLevelsContent and hasSufficientPowerLevelFor #4128

Merged
merged 1 commit into from Mar 25, 2024

Conversation

galash13
Copy link
Contributor

while developing to use the hasSufficientPowerLevelFor method i logged the contents of a EventType.RoomPowerLevels state event for a room and found there were missing properties, which i add in this PR

@galash13 galash13 requested a review from a team as a code owner March 22, 2024 13:53
@galash13 galash13 requested review from dbkr and richvdh March 22, 2024 13:53
@github-actions github-actions bot added the Z-Community-PR Issue is solved by a community member's PR label Mar 22, 2024
src/models/room-state.ts Outdated Show resolved Hide resolved
src/models/room-state.ts Outdated Show resolved Hide resolved
@t3chguy t3chguy added the T-Defect Bugs, crashes, hangs, vulnerabilities, or other reported problems label Mar 22, 2024
src/models/room-state.ts Outdated Show resolved Hide resolved
src/models/room-state.ts Outdated Show resolved Hide resolved
@richvdh richvdh changed the title Improved types for IPowerLevelsContent and hasSufficientPowerLevelFor Improve types for IPowerLevelsContent and hasSufficientPowerLevelFor Mar 25, 2024
src/models/room-state.ts Outdated Show resolved Hide resolved
@t3chguy
Copy link
Member

t3chguy commented Mar 25, 2024

The only bit missing now is the sign off https://github.com/element-hq/element-web/blob/develop/CONTRIBUTING.md#sign-off
and to make Prettier happy

Signed-off-by: Gabriele Messina <56839513+galash13@users.noreply.github.com>
Copy link
Member

@t3chguy t3chguy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution

@t3chguy t3chguy enabled auto-merge March 25, 2024 13:55
@t3chguy t3chguy added this pull request to the merge queue Mar 25, 2024
Merged via the queue into matrix-org:develop with commit 0b290ff Mar 25, 2024
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Defect Bugs, crashes, hangs, vulnerabilities, or other reported problems Z-Community-PR Issue is solved by a community member's PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants