#436: fix notification order, follow type link issue, duplicate key
This commit is contained in:
parent
93a2510ede
commit
e5e1d4c643
5 changed files with 15 additions and 10 deletions
|
@ -275,7 +275,7 @@ export const parseNotification = (data) => {
|
|||
output.status = output.type === 'follow'
|
||||
? parseFollow(data)
|
||||
: parseStatus(data.status)
|
||||
if (data.type === 'reblog') {
|
||||
if (data.type === 'reblog' || data.type === 'favourite') {
|
||||
output.status.user = parseUser(data.account)
|
||||
output.status.created_at = new Date(data.created_at)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue