Browse Source

fix(push_subscription): Use star icon for favourite action (#4396)

master
Sorin Davidoi 7 years ago
committed by Eugen Rochko
parent
commit
e1798d0eb0
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/models/web/push_subscription.rb

+ 1
- 1
app/models/web/push_subscription.rb View File

@ -117,7 +117,7 @@ class Web::PushSubscription < ApplicationRecord
when :mention then [ when :mention then [
{ {
title: translate('push_notifications.mention.action_favourite'), title: translate('push_notifications.mention.action_favourite'),
icon: full_asset_url('emoji/2764.png', skip_pipeline: true),
icon: full_asset_url('emoji/2b50.png', skip_pipeline: true),
todo: 'request', todo: 'request',
method: 'POST', method: 'POST',
action: "/api/v1/statuses/#{notification.target_status.id}/favourite", action: "/api/v1/statuses/#{notification.target_status.id}/favourite",

Loading…
Cancel
Save