fix the very annoying thing where favs from pleromabe would not generate notifs when on GS

This commit is contained in:
Shpuld Shpuldson 2017-08-18 12:26:07 +03:00
parent 0ece2f04fd
commit 052befa581

View file

@ -97,7 +97,7 @@ export const statusType = (status) => {
return 'retweet' 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' return 'favorite'
} }