@ -196,7 +196,7 @@
getOrCreateAndWait(id, type) {
return this._initialPromise.then(() => {
const conversation = this.getOrCreate(id, type);
5
if (conversation) {
return conversation.initialPromise.then(() => conversation);
}
@ -1124,8 +1124,10 @@ export class Message extends React.PureComponent<Props, State> {
// User clicked on message body
const target = (event.target as HTMLDivElement);
if(target.className === 'text-selectable') return;
const target = event.target as HTMLDivElement;
if (target.className === 'text-selectable') {
return;
this.props.onSelectMessage();
}}
@ -285,5 +285,4 @@ export class SessionClosableOverlay extends React.Component<Props, State> {
groupName: event,
});