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

Spoilers are shown in message previews #21646

Closed
MadLittleMods opened this issue Apr 1, 2022 · 2 comments
Closed

Spoilers are shown in message previews #21646

MadLittleMods opened this issue Apr 1, 2022 · 2 comments
Labels
A-Message-Previews A-Moderation A-Threads O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Tolerable Low/no impact on users T-Defect Z-Labs

Comments

@MadLittleMods
Copy link
Contributor

MadLittleMods commented Apr 1, 2022

Steps to reproduce

  1. Start a thread
  2. In the thread, respond with /spoiler oops, this just got spoiled in the thread preview
  3. Notice the message is displayed in plain-text in the thread replies preview

For context: While doing some moderation, I recently used the spoiler syntax to hide some nasty abusive text (spam). This way, I could reference the problem text but hide it by default for onlookers.

As a note, I'm not usually one to care about spoilers and whether someone uses the syntax.

Outcome

What did you expect?

Thread preview hides the actual message in some way. This could be just displaying spoiler in place of the content.

What happened instead?

The spoiled message text is displayed

Operating system

Windows 10

Browser information

Chrome Version 100.0.4896.60

URL for webapp

https://develop.element.io/

Application version

Element version: aeb6cdd-react-1f64835fabe9-js-d6f1c6cfdc5a Olm version: 3.2.8

Homeserver

matrix.org

Will you send logs?

No

@MadLittleMods MadLittleMods added T-Defect S-Tolerable Low/no impact on users O-Uncommon Most users are unlikely to come across this or unexpected workflow A-Threads labels Apr 1, 2022
@github-actions github-actions bot added the Z-Labs label Apr 1, 2022
@germain-gg germain-gg removed the Z-Labs label Apr 4, 2022
@germain-gg germain-gg changed the title Spoilers are shown in thread previews Spoilers are shown in message previews Apr 4, 2022
@github-actions github-actions bot added the Z-Labs label Apr 4, 2022
@germain-gg
Copy link
Contributor

germain-gg commented Apr 4, 2022

True as well in the room list message preview

Screen Shot 2022-04-04 at 09 38 06

@t3chguy
Copy link
Member

t3chguy commented Apr 8, 2022

Duplicate of #19945 (comment)

@t3chguy t3chguy marked this as a duplicate of #19945 Apr 8, 2022
@t3chguy t3chguy closed this as completed Apr 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Message-Previews A-Moderation A-Threads O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Tolerable Low/no impact on users T-Defect Z-Labs
Projects
None yet
Development

No branches or pull requests

3 participants