Revert recent composer changes (#8840)

* Revert "Prevent new composer from overflowing from non-breakable text (#8829)"

This reverts commit 57dff8131c.

* Revert "Fix scroll jump issue with the composer (#8791)"

This reverts commit 5167521ea4.

* Revert "Fix scroll jump issue with the composer (#8788)"

This reverts commit f568a76dc6.

* Revert "Revert link color change in composer (#8784)"

This reverts commit aedbeb2995.

* Revert "Improve composer visiblity (#8578)"

This reverts commit f14374a51c.
This commit is contained in:
Michael Telatynski 2022-06-27 09:43:58 +01:00 committed by GitHub
parent 7d3c750247
commit e7a8dbd04c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 174 additions and 325 deletions

View file

@ -44,7 +44,6 @@ interface IProps {
getRelationsForEvent?: (
(eventId: string, relationType: string, eventType: string) => Relations
);
showSenderProfile?: boolean;
}
export default class ReplyTile extends React.PureComponent<IProps> {
@ -52,7 +51,6 @@ export default class ReplyTile extends React.PureComponent<IProps> {
static defaultProps = {
onHeightChanged: () => {},
showSenderProfile: true,
};
componentDidMount() {
@ -138,8 +136,7 @@ export default class ReplyTile extends React.PureComponent<IProps> {
let sender;
const needsSenderProfile = (
this.props.showSenderProfile
&& !isInfoMessage
!isInfoMessage
&& msgType !== MsgType.Image
&& evType !== EventType.Sticker
&& evType !== EventType.RoomCreate