diff options
| author | Shpuld Shpuldson <shpuld@gmail.com> | 2017-08-18 12:26:07 +0300 |
|---|---|---|
| committer | Shpuld Shpuldson <shpuld@gmail.com> | 2017-08-18 12:26:07 +0300 |
| commit | 052befa5819eb81895dd43b3ad16dda913859a5e (patch) | |
| tree | cc42236152a31fa4615b298235030286760155c2 /src | |
| parent | 0ece2f04fdd2f8001ae9552ea3ae12fa90f23775 (diff) | |
fix the very annoying thing where favs from pleromabe would not generate notifs when on GS
Diffstat (limited to 'src')
| -rw-r--r-- | src/modules/statuses.js | 2 |
1 files changed, 1 insertions, 1 deletions
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' } |
