From 052befa5819eb81895dd43b3ad16dda913859a5e Mon Sep 17 00:00:00 2001 From: Shpuld Shpuldson <shpuld@gmail.com> Date: Fri, 18 Aug 2017 12:26:07 +0300 Subject: [PATCH] fix the very annoying thing where favs from pleromabe would not generate notifs when on GS --- src/modules/statuses.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/statuses.js b/src/modules/statuses.js index de5d7d23..68e71fcb 100644 --- a/src/modules/statuses.js +++ b/src/modules/statuses.js @@ -97,7 +97,7 @@ export const statusType = (status) => { return 'retweet' } - if (typeof status.uri === 'string' && status.uri.match(/(fave|objectType=Favourite)/)) { + if ((typeof status.uri === 'string' && status.uri.match(/(fave|objectType=Favourite)/)) || status.text.match(/favorited/)) { return 'favorite' }