pull/1002/head
Vincent 6 years ago
parent 6135f4d334
commit 6360b539a3

@ -196,7 +196,7 @@
getOrCreateAndWait(id, type) { getOrCreateAndWait(id, type) {
return this._initialPromise.then(() => { return this._initialPromise.then(() => {
const conversation = this.getOrCreate(id, type); const conversation = this.getOrCreate(id, type);
5
if (conversation) { if (conversation) {
return conversation.initialPromise.then(() => conversation); return conversation.initialPromise.then(() => conversation);
} }

@ -1124,8 +1124,10 @@ export class Message extends React.PureComponent<Props, State> {
} }
// User clicked on message body // User clicked on message body
const target = (event.target as HTMLDivElement); const target = event.target as HTMLDivElement;
if(target.className === 'text-selectable') return; if (target.className === 'text-selectable') {
return;
}
this.props.onSelectMessage(); this.props.onSelectMessage();
}} }}

@ -285,5 +285,4 @@ export class SessionClosableOverlay extends React.Component<Props, State> {
groupName: event, groupName: event,
}); });
} }
} }

@ -243,7 +243,7 @@ export class SessionGroupSettings extends React.Component<Props, any> {
<div role="button" className="text-subtle"> <div role="button" className="text-subtle">
{window.i18n('members', memberCount)} {window.i18n('members', memberCount)}
</div> </div>
<div className="spacer-lg" /> <div className="spacer-lg" />
</> </>
)} )}
<input <input

Loading…
Cancel
Save