From: Alexander Strizhakov Date: Thu, 5 Mar 2020 15:28:04 +0000 (+0300) Subject: returning, not needed X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=058c9b01ac063f3cca22a653032663916a16a234;p=akkoma returning, not needed --- 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)