Fix status visibility_ex error
This commit is contained in:
parent
82fc54d8a0
commit
55f59b4343
2 changed files with 5 additions and 1 deletions
|
@ -74,6 +74,10 @@ export function normalizeStatus(status, normalOldStatus) {
|
|||
normalStatus.media_attachments = status.media_attachments.concat(status.media_attachments_ex);
|
||||
}
|
||||
|
||||
if (!status.visibility_ex) {
|
||||
normalStatus.visibility_ex = status.visibility;
|
||||
}
|
||||
|
||||
// Only calculate these values when status first encountered and
|
||||
// when the underlying values change. Otherwise keep the ones
|
||||
// already in the reducer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue