From 798eb402cb3cdc78dd8932f539eb7a0ef61ff4b2 Mon Sep 17 00:00:00 2001 From: Vincent Date: Mon, 23 Dec 2019 17:13:29 +1100 Subject: [PATCH] Initial pairing modal prep --- ts/components/UserDetailsDialog.tsx | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/ts/components/UserDetailsDialog.tsx b/ts/components/UserDetailsDialog.tsx index 99ca613bb..b0834d274 100644 --- a/ts/components/UserDetailsDialog.tsx +++ b/ts/components/UserDetailsDialog.tsx @@ -30,6 +30,9 @@ export class UserDetailsDialog extends React.Component { public render() { const i18n = this.props.i18n; + const isRss = + window.ConversationController.get(this.props.pubkey).attributes.type === + 'group'; return ( {
{this.props.pubkey}
- + {!isRss ? ( + + ) : null}
);