This commit is contained in:
Henry Jameson 2019-01-14 22:59:02 +03:00
parent fd27c78c4b
commit 966a9e78af
2 changed files with 0 additions and 5 deletions

View File

@ -258,7 +258,6 @@ const addNewNotifications = (state, { dispatch, notifications, older, visibleNot
state.notifications.maxId = Math.max(notification.id, state.notifications.maxId) state.notifications.maxId = Math.max(notification.id, state.notifications.maxId)
state.notifications.minId = Math.min(notification.id, state.notifications.minId) state.notifications.minId = Math.min(notification.id, state.notifications.minId)
console.log('AWOOOOOO', notification)
state.notifications.data.push(notification) state.notifications.data.push(notification)
state.notifications.idStore[notification.id] = notification state.notifications.idStore[notification.id] = notification

View File

@ -101,10 +101,6 @@ const parseAttachment = (data) => {
export const parseStatus = (data) => { export const parseStatus = (data) => {
const output = {} const output = {}
const masto = data.hasOwnProperty('account') const masto = data.hasOwnProperty('account')
output.raw = data
console.log(masto ? 'MAMMAL' : 'OLD SHIT')
console.log(data)
if (masto) { if (masto) {
output.favorited = data.favourited output.favorited = data.favourited