Mark notifications about statuses from muted users as read automatically

This commit is contained in:
Sergey Suprunenko 2020-08-15 15:27:41 +02:00
commit 0865f36965
No known key found for this signature in database
GPG key ID: 5DCA7D1BE3914F9C
3 changed files with 12 additions and 2 deletions

View file

@ -219,7 +219,7 @@ defmodule Pleroma.Web.MastodonAPI.NotificationViewTest do
expected = %{
id: to_string(notification.id),
pleroma: %{is_seen: false, is_muted: true},
pleroma: %{is_seen: true, is_muted: true},
type: "favourite",
account: AccountView.render("show.json", %{user: another_user, for: user}),
status: StatusView.render("show.json", %{activity: create_activity, for: user}),