GeopJr / Tuba

Browse the Fediverse
https://tuba.geopjr.dev/
GNU General Public License v3.0
506 stars 55 forks source link

[Bug]: Moderator reports show the reporting user's profile in notifications instead of the report #935

Closed NattyNarwhal closed 1 month ago

NattyNarwhal commented 2 months ago

Describe the bug

When I receive a moderator report on my instance, I don't get any information about the report, like a link to the admin interface or the report message. Instead, I get the reporting user's profile text in the body, and the date they signed up as the notification date.

Steps To Reproduce

  1. Receive moderator notification
  2. Open Tuba notifications

Logs and/or Screenshots

No response

Instance Backend

glitch-soc

Operating System

Fedora 40

Package

Flatpak

Troubleshooting information

os: GNOME 46 (Flatpak runtime) prefix: /app flatpak: true version: 0.7.2 (production) gtk: 4.14.3 (4.14.1) libadwaita: 1.5.0 (1.5.0) libsoup: 3.4.4 (3.4.4) libgtksourceview: 5.12.0 (5.12.0)

Additional Context

No response

GeopJr commented 2 months ago

Thanks for raising this issue!

Can I have some screenshots? Feel free to censor anything private

NattyNarwhal commented 2 months ago

Here is Tuba with a report and a reply:

Screenshot from 2024-05-04 16-03-03

Same notifications in Mastodon deck view:

Screenshot from 2024-05-04 16-07-44

GeopJr commented 2 months ago

Awesome, thanks!

We currently don't handle user reports at all so I'm surprised they even went through (BUG). I'll add support for handling them by the next release

NattyNarwhal commented 2 months ago

It does seem some third-party clients support them by just opening up a link to the Mastodon admin interface. At least that's what Toot on iOS does.