diff options
author | Mark Felder <feld@FreeBSD.org> | 2020-05-06 16:42:27 -0500 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2020-05-06 16:42:27 -0500 |
commit | a2580adc91ac757e47b88839f5fb723fb15305b1 (patch) | |
tree | 5d764daaee03251ada7215f2741c9ac52276766b /lib | |
parent | 57736c18332b0017e01d90e56547af1f5f830b7a (diff) | |
download | pleroma-a2580adc91ac757e47b88839f5fb723fb15305b1.tar.gz |
Hide the sender when privacy option is enabled
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/push/impl.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/web/push/impl.ex b/lib/pleroma/web/push/impl.ex index 7f80bb0c9..691725702 100644 --- a/lib/pleroma/web/push/impl.ex +++ b/lib/pleroma/web/push/impl.ex @@ -108,11 +108,11 @@ defmodule Pleroma.Web.Push.Impl do %{ user: %{notification_settings: %{privacy_option: true}} } = notification, - actor, + _actor, _object, mastodon_type ) do - %{title: format_title(notification, mastodon_type), body: "@#{actor.nickname}"} + %{body: format_title(notification, mastodon_type)} end def build_content(notification, actor, object, mastodon_type) do |