commit: 499faa82f6e9bc400b059a7fd3e5a910eebe1a58
parent 5d0bc5e028c94ab1c7ebf746b5d01af1fbef396f
Author: Mark Felder <feld@FreeBSD.org>
Date: Tue, 17 Nov 2020 19:51:37 +0000
Synchronize reaction notification text with PleromaFE's style
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git 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
@@ -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"