Revert "Don't attach IntersectionObserver for wrapped statuses" (#3877)
* Revert "Bump version to 1.4.4" This reverts commitlolsob-rspecbd6bee29de
. * Revert "Fix conversations (fixes #3869) (#3870)" This reverts commitee7952c349
. * Revert "Fix streaming server. Redis connection subscribe for each channel. (#3828)" This reverts commit8f202bc639
. * Revert "Filter direct statuses in Status.as_home_timeline (#3842)" This reverts commit77dcf442e7
. * Revert "Fix RemoteFollow behavior (#3868)" This reverts commit1d2eba7a84
. * Revert "Update fabricator for MediaAttachment to attach a file according to type (#3862)" This reverts commitbaa248a801
. * Revert "Upgrade React Router (#3677)" This reverts commit9bc32eb267
. * Revert "Do not call setState from unmounted component (#3853)" This reverts commit59849b392d
. * Revert "Replace TextIconButton for SensitiveButton to IconButton (#3759)" This reverts commit47dceaded6
. * Revert "Fix RTL detection on Ruby side (#3867)" This reverts commit55376105f5
. * Revert "i18n: Fixed typo in Polish translation (#3864)" This reverts commit3c355ed26b
. * Revert "Don't attach IntersectionObserver for wrapped statuses (#3863)" This reverts commit79c04b0a2c
.
parent
bd6bee29de
commit
cbc0fea992
|
@ -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