diff options
author | lain <lain@soykaf.club> | 2021-01-04 13:38:31 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2021-01-04 13:38:31 +0100 |
commit | e1e7e4d379a67779a799049728d143eee2b88a7e (patch) | |
tree | 7506ca5b79a1eb8437a9f5f125f428532aa074b1 /lib/pleroma/web/push/impl.ex | |
parent | afe9c152ab757237313cc15d97855ae39768ddc1 (diff) | |
download | pleroma-e1e7e4d379a67779a799049728d143eee2b88a7e.tar.gz |
Object: Rework how Object.normalize works
Now it defaults to not fetching, and the option is named.
Diffstat (limited to 'lib/pleroma/web/push/impl.ex')
-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 82152dffa..a9c46f63a 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 mastodon_type = notification.type gcm_api_key = Application.get_env(:web_push_encryption, :gcm_api_key) avatar_url = User.avatar_url(actor) - object = Object.normalize(activity, false) + object = Object.normalize(activity, fetch: false) user = User.get_cached_by_id(user_id) direct_conversation_id = Activity.direct_conversation_id(activity, user) |