logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: f0bb2c6d1eeea63cd92be3da57288fd4743a8db9
parent: 13bb1ddc7f5f5e3a7fc57396427c750f40d80603
Author: Eugen Rochko <eugen@zeonfederated.com>
Date:   Fri, 28 Jul 2017 20:26:54 +0200

Fix web push notifications "boost" icon not being loaded (regression from #4426) (#4431)


Diffstat:

Mapp/models/web/push_subscription.rb2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/models/web/push_subscription.rb b/app/models/web/push_subscription.rb @@ -135,7 +135,7 @@ class Web::PushSubscription < ApplicationRecord end if can_boost - actions << { title: translate('push_notifications.mention.action_boost'), icon: full_asset_url('web-push-icon_boost.png', skip_pipeline: true), todo: 'request', method: 'POST', action: "/api/v1/statuses/#{notification.target_status.id}/reblog" } + actions << { title: translate('push_notifications.mention.action_boost'), icon: full_asset_url('web-push-icon_reblog.png', skip_pipeline: true), todo: 'request', method: 'POST', action: "/api/v1/statuses/#{notification.target_status.id}/reblog" } end actions