This repository was archived by the owner on Sep 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/components/views/rooms Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -847,7 +847,7 @@ export default class EventTile extends React.Component<IProps, IState> {
847847 let tileHandler = getHandlerTile ( this . props . mxEvent ) ;
848848
849849 // Info messages are basically information about commands processed on a room
850- const isBubbleMessage = eventType . startsWith ( "m.key.verification" ) ||
850+ let isBubbleMessage = eventType . startsWith ( "m.key.verification" ) ||
851851 ( eventType === EventType . RoomMessage && msgtype && msgtype . startsWith ( "m.key.verification" ) ) ||
852852 ( eventType === EventType . RoomCreate ) ||
853853 ( eventType === EventType . RoomEncryption ) ||
@@ -863,6 +863,7 @@ export default class EventTile extends React.Component<IProps, IState> {
863863 // duplicate of the thing they are replacing).
864864 if ( SettingsStore . getValue ( "showHiddenEventsInTimeline" ) && ! haveTileForEvent ( this . props . mxEvent ) ) {
865865 tileHandler = "messages.ViewSourceEvent" ;
866+ isBubbleMessage = false ;
866867 // Reuse info message avatar and sender profile styling
867868 isInfoMessage = true ;
868869 }
You can’t perform that action at this time.
0 commit comments