Don't show a message bubble around polls (#7374)
* Don't show a message bubble around polls * Update res/css/views/rooms/_EventBubbleTile.scss
This commit is contained in:
parent
d31aa12156
commit
11aa6c7435
3 changed files with 13 additions and 2 deletions
|
@ -1067,6 +1067,7 @@ export default class EventTile extends React.Component<IProps, IState> {
|
|||
isBubbleMessage,
|
||||
isInfoMessage,
|
||||
isLeftAlignedBubbleMessage,
|
||||
noBubbleEvent,
|
||||
} = getEventDisplayInfo(this.props.mxEvent);
|
||||
const { isQuoteExpanded } = this.state;
|
||||
|
||||
|
@ -1121,6 +1122,7 @@ export default class EventTile extends React.Component<IProps, IState> {
|
|||
mx_EventTile_emote: msgtype === 'm.emote',
|
||||
mx_EventTile_noSender: this.props.hideSender,
|
||||
mx_EventTile_clamp: this.props.tileShape === TileShape.ThreadPanel,
|
||||
mx_EventTile_noBubble: noBubbleEvent,
|
||||
});
|
||||
|
||||
// If the tile is in the Sending state, don't speak the message.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue