Skip to content

I shouldn't be presented the option to unpin messages if I don't have the required power level to do so #19886

@anoadragon453

Description

@anoadragon453

Steps to reproduce

As an unprivileged member of a room with some pinned messages, if I hover over them in the pin pane, I am presented with the option to unpin each message:

image

But I don't have the power levels to unpin this message, and clicking on it does nothing. (and by nothing I mean generates an unhandled error case.)

image

Outcome

What did you expect?

To not see the unpin button.

What happened instead?

I saw the unpin button.

Operating system

Arch Linux

Application version

Element version: 1.9.4, Olm version: 3.2.3

How did you install the app?

The AUR

Homeserver

No response

Will you send logs?

No

Metadata

Metadata

Assignees

Labels

A-Message-PinningO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existT-Defect

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions