fixes 2034 Make notifs view work for reports
requested to merge ilja/pleroma:fixes_2034_reports_should_send_a_notification_to_admins into develop
Closes #2034 (closed)
When the instance receives a report (either locally or from a remote instance), a notification is created for each mod and admin.
- The view returns the default notification things and also includes the report view from the report
- AFAICT notifications are muted on the FE, so I didn't add anything for that here
- Admins and mods already received an email when a report is received. I think it's best to keep it for now so that we don't break current expectations. This could be reconsidered once someone implements the thing in #679
- I added it to the changelog
- Corresponding fe-issue: pleroma-fe#949 (closed)
- When the current fe receives a report-notif, it just won't show. So it doesn't break things on current fe either
Edited by lain