Merge pull request #4484 from matrix-org/t3chguy/redaction_redesign

Redesign redactions
This commit is contained in:
Michael Telatynski 2020-05-08 17:40:04 +01:00 committed by GitHub
commit 347e3a0dd0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 86 additions and 83 deletions

View file

@ -1339,7 +1339,7 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
// this if we are not scrolled up in the view. To find out, delegate to
// the timeline panel. If the timeline panel doesn't exist, then we assume
// it is safe to reset the timeline.
if (!this.loggedInView.current || !this.loggedInView.current) {
if (!this.loggedInView.current) {
return true;
}
return this.loggedInView.current.canResetTimelineInRoom(roomId);