diff options
author | Mark Felder <feld@FreeBSD.org> | 2020-11-17 19:51:37 +0000 |
---|---|---|
committer | Mark Felder <feld@FreeBSD.org> | 2020-11-17 20:22:24 +0000 |
commit | 499faa82f6e9bc400b059a7fd3e5a910eebe1a58 (patch) | |
tree | 204ab9d8d4eb77bb6537a4b811ae7ba0fa83412f | |
parent | 5d0bc5e028c94ab1c7ebf746b5d01af1fbef396f (diff) | |
download | pleroma-499faa82f6e9bc400b059a7fd3e5a910eebe1a58.tar.gz |
Synchronize reaction notification text with PleromaFE's style
-rw-r--r-- | lib/pleroma/web/push/impl.ex | 2 | ||||
-rw-r--r-- | test/pleroma/web/push/impl_test.exs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/web/push/impl.ex b/lib/pleroma/web/push/impl.ex index f91cb1d40..82152dffa 100644 --- a/lib/pleroma/web/push/impl.ex +++ b/lib/pleroma/web/push/impl.ex @@ -155,7 +155,7 @@ defmodule Pleroma.Web.Push.Impl do _object, _mastodon_type ) do - "@#{actor.nickname} has reacted with #{content}" + "@#{actor.nickname} reacted with #{content}" end def format_body( diff --git a/test/pleroma/web/push/impl_test.exs b/test/pleroma/web/push/impl_test.exs index 2575c76d6..2a4a8fd06 100644 --- a/test/pleroma/web/push/impl_test.exs +++ b/test/pleroma/web/push/impl_test.exs @@ -196,7 +196,7 @@ defmodule Pleroma.Web.Push.ImplTest do object = Object.normalize(activity) assert Impl.format_body(%{activity: activity, type: "pleroma:emoji_reaction"}, user, object) == - "@Bob has reacted with 👍" + "@Bob reacted with 👍" assert Impl.format_title(%{activity: activity, type: "pleroma:emoji_reaction"}) == "New Reaction" |