mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-25 06:13:43 +01:00
More debugging
This commit is contained in:
parent
ea44d89383
commit
225ce8cfce
1 changed files with 2 additions and 2 deletions
|
@ -38,14 +38,14 @@ const assembleStatus = (id, statuses, accounts) => {
|
||||||
if (status.get('reblog', null) !== null) {
|
if (status.get('reblog', null) !== null) {
|
||||||
reblog = statuses.get(status.get('reblog'), 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')));
|
reblog = reblog.set('account', accounts.get(reblog.get('account')));
|
||||||
} else {
|
} else {
|
||||||
return null;
|
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')));
|
return status.set('reblog', reblog).set('account', accounts.get(status.get('account')));
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue