More debugging

This commit is contained in:
Eugen Rochko 2016-10-18 01:31:03 +02:00
parent b92c8c3f87
commit f3a6be81cc
2 changed files with 3 additions and 1 deletions

View file

@ -48,7 +48,7 @@ function normalizeStatus(state, status) {
status = status.set('account', account.get('id'));
// Separate reblog, repeat for reblog
let reblog = status.get('reblog');
let reblog = status.get('reblog', null);
if (reblog !== null) {
status = status.set('reblog', reblog.get('id'));

View file

@ -45,6 +45,8 @@ const assembleStatus = (id, statuses, accounts) => {
}
}
console.log(reblog);
return status.set('reblog', reblog).set('account', accounts.get(status.get('account')));
};