Allow missing sender in event
							parent
							
								
									d90d1ca8db
								
							
						
					
					
						commit
						d804df84a7
					
				|  | @ -1182,7 +1182,7 @@ export default class EventTile extends React.Component<IProps, IState> { | |||
|                     this.props.alwaysShowTimestamps || this.state.hover, | ||||
|                 ); | ||||
| 
 | ||||
|                 const isOwnEvent = this.props.mxEvent.sender.userId === MatrixClientPeg.get().getUserId(); | ||||
|                 const isOwnEvent = this.props.mxEvent?.sender?.userId === MatrixClientPeg.get().getUserId(); | ||||
| 
 | ||||
|                 // tab-index=-1 to allow it to be focusable but do not add tab stop for it, primarily for screen readers
 | ||||
|                 return ( | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 Germain Souquet
						Germain Souquet