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

This commit is contained in:
Sorin Davidoi 2017-07-27 15:46:33 +02:00 committed by Eugen Rochko
parent 4f0b638cda
commit e1798d0eb0

View File

@ -117,7 +117,7 @@ class Web::PushSubscription < ApplicationRecord
when :mention then [
{
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',
method: 'POST',
action: "/api/v1/statuses/#{notification.target_status.id}/favourite",