mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-12-22 21:26:52 +00:00
More debugging
This commit is contained in:
parent
dd02fc0ec4
commit
ea44d89383
|
@ -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'));
|
||||
|
|
|
@ -45,6 +45,8 @@ const assembleStatus = (id, statuses, accounts) => {
|
|||
}
|
||||
}
|
||||
|
||||
console.log(reblog);
|
||||
|
||||
return status.set('reblog', reblog).set('account', accounts.get(status.get('account')));
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue