mirror of https://github.com/mastodon/mastodon
Revert "Don't attach IntersectionObserver for wrapped statuses" (#3877)
* Revert "Bump version to 1.4.4" This reverts commit1585b0c6cc
. * Revert "Fix conversations (fixes #3869) (#3870)" This reverts commit15b43f555d
. * Revert "Fix streaming server. Redis connection subscribe for each channel. (#3828)" This reverts commitd8ec832806
. * Revert "Filter direct statuses in Status.as_home_timeline (#3842)" This reverts commitbab5a18232
. * Revert "Fix RemoteFollow behavior (#3868)" This reverts commita20cf3b64e
. * Revert "Update fabricator for MediaAttachment to attach a file according to type (#3862)" This reverts commit356df7ae6b
. * Revert "Upgrade React Router (#3677)" This reverts commit8f03fdce7f
. * Revert "Do not call setState from unmounted component (#3853)" This reverts commit1fc6cb4997
. * Revert "Replace TextIconButton for SensitiveButton to IconButton (#3759)" This reverts commiteb832e88f4
. * Revert "Fix RTL detection on Ruby side (#3867)" This reverts commitb16b69350e
. * Revert "i18n: Fixed typo in Polish translation (#3864)" This reverts commitda6fa029f6
. * Revert "Don't attach IntersectionObserver for wrapped statuses (#3863)" This reverts commit94ad0706f5
.
This commit is contained in:
parent
1585b0c6cc
commit
31cd649041
|
@ -162,10 +162,7 @@ class Status extends ImmutablePureComponent {
|
||||||
render () {
|
render () {
|
||||||
let media = null;
|
let media = null;
|
||||||
let statusAvatar;
|
let statusAvatar;
|
||||||
|
const { status, account, ...other } = this.props;
|
||||||
// Exclude intersectionObserverWrapper from `other` variable
|
|
||||||
// because intersection is managed in here.
|
|
||||||
const { status, account, intersectionObserverWrapper, ...other } = this.props;
|
|
||||||
const { isExpanded, isIntersecting, isHidden } = this.state;
|
const { isExpanded, isIntersecting, isHidden } = this.state;
|
||||||
|
|
||||||
if (status === null) {
|
if (status === null) {
|
||||||
|
|
Loading…
Reference in New Issue