diff --git a/ts/components/session/LeftPaneMessageSection.tsx b/ts/components/session/LeftPaneMessageSection.tsx index 193aae549..9f8716146 100644 --- a/ts/components/session/LeftPaneMessageSection.tsx +++ b/ts/components/session/LeftPaneMessageSection.tsx @@ -256,6 +256,12 @@ export class LeftPaneMessageSection extends React.Component { const { openConversationInternal } = this.props; if (!this.state.pubKeyPasted && !this.props.searchTerm) { + window.pushToast({ + title: window.i18n('invalidNumberError'), + type: 'error', + id: 'invalidPubKey', + }); + return; } let pubkey: string;