diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-03-05 18:28:04 +0300 |
---|---|---|
committer | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2020-03-05 18:28:04 +0300 |
commit | 058c9b01ac063f3cca22a653032663916a16a234 (patch) | |
tree | 586e63e3a0d84d6a60c3671861db373e6ed96458 | |
parent | f0753eed0fdddd30e127213c89a118dd2e087dc9 (diff) | |
download | pleroma-058c9b01ac063f3cca22a653032663916a16a234.tar.gz |
returning, not needed
-rw-r--r-- | lib/pleroma/web/push/impl.ex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/web/push/impl.ex b/lib/pleroma/web/push/impl.ex index 233e55f21..afa510f08 100644 --- a/lib/pleroma/web/push/impl.ex +++ b/lib/pleroma/web/push/impl.ex @@ -32,7 +32,7 @@ defmodule Pleroma.Web.Push.Impl do type = Activity.mastodon_notification_type(notif.activity) gcm_api_key = Application.get_env(:web_push_encryption, :gcm_api_key) avatar_url = User.avatar_url(actor) - object = Object.normalize(activity) || activity + object = Object.normalize(activity) user = User.get_cached_by_id(user_id) direct_conversation_id = Activity.direct_conversation_id(activity, user) |