Commit 152caef5 authored by feld's avatar feld

Direct messages should provide a distinct push notification subject

parent 3b1bc079
......@@ -125,6 +125,10 @@ def format_body(
def format_title(%{activity: %{data: %{"directMessage" => true}}}) do
"New Direct Message"
def format_title(%{activity: %{data: %{"type" => type}}}) do
case type do
"Create" -> "New Mention"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment