Revert recent composer changes (#8840)
* Revert "Prevent new composer from overflowing from non-breakable text (#8829)" This reverts commit57dff8131c
. * Revert "Fix scroll jump issue with the composer (#8791)" This reverts commit5167521ea4
. * Revert "Fix scroll jump issue with the composer (#8788)" This reverts commitf568a76dc6
. * Revert "Revert link color change in composer (#8784)" This reverts commitaedbeb2995
. * Revert "Improve composer visiblity (#8578)" This reverts commitf14374a51c
.
This commit is contained in:
parent
7d3c750247
commit
e7a8dbd04c
18 changed files with 174 additions and 325 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue