Report modal style fix, chat updates, statusserializer revert, display name truncation
This commit is contained in:
mgabdev
2020-12-20 12:27:24 -05:00
parent 7ec426e3d8
commit 67eb9d5890
49 changed files with 369 additions and 158 deletions

View File

@@ -310,12 +310,15 @@ class Status extends ImmutablePureComponent {
commentSortingType,
onOpenProModal,
isDeckConnected,
statusId,
} = this.props
// const { height } = this.state
let { status } = this.props
if (!status) return null
if (!status) {
return null
}
if (isComment && !ancestorStatus && !isChild) {
// Wait to load...
@@ -331,7 +334,7 @@ class Status extends ImmutablePureComponent {
if (ancestorStatus) {
status = ancestorStatus
} else {
if (status.get('reblog', null) !== null && typeof status.get('reblog') === 'object') {
if (status.get('reblog', null) !== null) {
rebloggedByText = intl.formatMessage(
{ id: 'status.reposted_by', defaultMessage: '{name} reposted' },
{ name: status.getIn(['account', 'acct']) }