Hide the sender when privacy option is enabled

This commit is contained in:
Mark Felder 2020-05-06 16:42:27 -05:00
commit a2580adc91
2 changed files with 3 additions and 4 deletions

View file

@ -209,8 +209,7 @@ defmodule Pleroma.Web.Push.ImplTest do
object = Object.normalize(activity)
assert Impl.build_content(notif, actor, object) == %{
body: "@Bob",
title: "New Direct Message"
body: "New Direct Message"
}
end