forked from AkkomaGang/akkoma-fe
fix the very annoying thing where favs from pleromabe would not generate notifs when on GS
This commit is contained in:
parent
0ece2f04fd
commit
052befa581
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue