]> cat aescling's git repositories - mastodon.git/commitdiff
Fix web push notifications "boost" icon not being loaded (regression from #4426)...
authorEugen Rochko <eugen@zeonfederated.com>
Fri, 28 Jul 2017 18:26:54 +0000 (20:26 +0200)
committerGitHub <noreply@github.com>
Fri, 28 Jul 2017 18:26:54 +0000 (20:26 +0200)
app/models/web/push_subscription.rb

index b343cf044251008cac7e5560c62b4c83428972be..45ce3298aa2bdcb280ee5e43bf3c1252015d49f1 100644 (file)
@@ -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