浏览代码

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

master
Eugen Rochko 6 年前
committed by GitHub
父节点
当前提交
f0bb2c6d1e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      app/models/web/push_subscription.rb

+ 1
- 1
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


正在加载...
取消
保存