Skip to content

Custom powerlevels break Roles & Permissions menu #19812

Closed
matrix-org/matrix-react-sdk
#7160
@f0x52

Description

@f0x52

Steps to reproduce

A room with custom powerlevels (related to some bot), makes the Roles & Permissions tab inaccessible in latest Riot Develop.

Outcome

What did you expect?

What happened instead?

22:56:26.092 TypeError: can't access property "hideForRoom", plEventsToShow[eventType] is undefined
    eventPowerSelectors RolesRoomSettingsTab.tsx:419
    render RolesRoomSettingsTab.tsx:416
    React 8
    unstable_runWithPriority scheduler.production.min.js:18
    React 5
rageshake.ts:65:27
    fnName rageshake.ts:65
    instrumentConsole instrument.js:111
    overrideMethod react_devtools_backend.js:2540
    React 5
    unstable_runWithPriority scheduler.production.min.js:18
    React 4
    unstable_runWithPriority scheduler.production.min.js:18
    React 5

And the settings menu closes

Operating system

No response

Browser information

No response

URL for webapp

No response

Application version

Element version: b2e8f21-react-28d7a51bb9d7-js-763e25e0319c Olm version: 3.2.3

Homeserver

No response

Will you send logs?

No

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions