forked from AkkomaGang/akkoma-fe
cleanup
This commit is contained in:
parent
fd27c78c4b
commit
966a9e78af
2 changed files with 0 additions and 5 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue