returning, not needed

This commit is contained in:
Alexander Strizhakov 2020-03-05 18:28:04 +03:00
parent f0753eed0f
commit 058c9b01ac
No known key found for this signature in database
GPG Key ID: 022896A53AEF1381

View File

@ -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)