#436 - apply patch

This commit is contained in:
dave 2019-03-31 14:50:34 -04:00
parent ecacc933e7
commit 06fd3a9c5f
3 changed files with 14 additions and 17 deletions

View file

@ -285,10 +285,7 @@ export const parseNotification = (data) => {
output.status = output.type === 'follow'
? parseFollow(data)
: parseStatus(data.status)
if (data.type === 'reblog' || data.type === 'favourite') {
output.status.user = parseUser(data.account)
}
output.action = output.status // not sure
output.action = output.status // TODO: Refactor, this is unneeded
output.from_profile = parseUser(data.account)
} else {
const parsedNotice = parseStatus(data.notice)