projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ce11b8
)
Allow subscribing for pleroma:emoji_reaction push notifications
author
Mark Felder
<feld@FreeBSD.org>
Tue, 17 Nov 2020 18:33:40 +0000
(18:33 +0000)
committer
Mark Felder
<feld@FreeBSD.org>
Tue, 17 Nov 2020 20:20:00 +0000
(20:20 +0000)
lib/pleroma/web/push/subscription.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/web/push/subscription.ex
b/lib/pleroma/web/push/subscription.ex
index 5b5aa0d597567fb80cf5521f66628d4e09d86fae..95425b986c2ed1cef4c5bf74b4586d1d1dcc86f6 100644
(file)
--- a/
lib/pleroma/web/push/subscription.ex
+++ b/
lib/pleroma/web/push/subscription.ex
@@
-25,7
+25,7
@@
defmodule Pleroma.Web.Push.Subscription do
timestamps()
end
- @supported_alert_types ~w[follow favourite mention reblog pleroma:chat_mention]a
+ @supported_alert_types ~w[follow favourite mention reblog pleroma:chat_mention
pleroma:emoji_reaction
]a
defp alerts(%{data: %{alerts: alerts}}) do
alerts = Map.take(alerts, @supported_alert_types)