Skip to content
Snippets Groups Projects
Commit 225ce8cf authored by Eugen Rochko's avatar Eugen Rochko
Browse files

More debugging

parent ea44d893
No related branches found
Tags v0.8
No related merge requests found
......@@ -38,14 +38,14 @@ const assembleStatus = (id, statuses, accounts) => {
if (status.get('reblog', null) !== null) {
reblog = statuses.get(status.get('reblog'), null);
if (Immutable.Map.isMap(reblog)) {
if (reblog !== null) {
reblog = reblog.set('account', accounts.get(reblog.get('account')));
} else {
return null;
}
}
console.log(reblog);
console.log('assembly for status', id, reblog.toJS());
return status.set('reblog', reblog).set('account', accounts.get(status.get('account')));
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment