element-meta icon indicating copy to clipboard operation
element-meta copied to clipboard

[Story] Add ability to report a room

Open bmarty opened this issue 10 months ago • 2 comments

Description

Element Android recently get rejected from the PlayStore due to the lack for the user to be able to report a room (reporting a specific event is already supported).

I want to be proactive on Element X and avoid having to deal with the same issue, which often force us to negotiate with Google and work in a hurry.

  • As a user of Element X mobile
  • I want to be able to report a room to the homeserver moderator
  • So that bad content can be removed or any other actions can be taken by the moderator

Acceptance criteria

  • A new action in the room setting is added so that user can report a room

Documentation

Size estimate

None

Dependencies

  • None

Out of scope

  • Nothing

Open questions

Subtasks

Android

  • https://github.com/element-hq/element-x-android/issues/4315

iOS

  • https://github.com/element-hq/element-x-ios/issues/3836

Rust

  • https://github.com/matrix-org/matrix-rust-sdk/issues/4681

Other

Sign-off

Android

  • [ ] Design sign-off on completion
  • [ ] QA sign-off on completion
  • [ ] Product sign-off on completion

iOS

  • [ ] Design sign-off on completion
  • [ ] QA sign-off on completion
  • [ ] Product sign-off on completion

bmarty avatar Feb 18 '25 10:02 bmarty

@amshakal can you please give guidance on the design?

manuroe avatar Mar 11 '25 08:03 manuroe

https://github.com/element-hq/element-web/pull/29513 is the web edition, but is missing designs to progress.

Half-Shot avatar Mar 17 '25 15:03 Half-Shot

The Matrix Rust SDK part has been done.

Hywan avatar Apr 07 '25 09:04 Hywan

The implementation is done on iOS, but is hidden behind an FF since due to a BE issue the report room API doesn't work properly:

quoting @Half-Shot :

The TL;DR is:

Synapse removed the unstable endpoint for room reporting but does not declare 1.13 support. We can either alter ruma to do a workaround for Synapse users (use the new endpoint based on homeserver version 😥), which might not be popular or easy to maintain. Or we can ask Backend to unbreak this in Synapse going forwards.

Velin92 avatar Apr 07 '25 14:04 Velin92

I think it's better to unbreak Synapse 😛.

Hywan avatar Apr 08 '25 06:04 Hywan

The assumption when adding the API was that the client can just call it and expect to receive an error, regardless of the supported spec versions. This is one of those features where it's better that users complain to their server owners if the button fails than hiding the button behind a version check.

turt2live avatar Apr 08 '25 15:04 turt2live

This is one of those features where it's better that users complain to their server owners if the button fails than hiding the button behind a version check.

I am afraid the users are going to complain about the Element (apps) not working, instead of going to their server owners. Am I missing anything?

mxandreas avatar Apr 30 '25 14:04 mxandreas

The API has existed for months, aside from the spec release. If people haven't updated their servers by now, they aren't likely to do so soon anyways - we can't support them forever.

turt2live avatar Apr 30 '25 15:04 turt2live

The work is done client side. https://github.com/element-hq/synapse/issues/18118 remains a blocker for EX for the entire epic.

manuroe avatar May 16 '25 13:05 manuroe