remove options from RSS feed that don't make any sense and don't work

pull/787/head
Ryan Tharp 5 years ago
parent 6ff5175a74
commit 79c4259a91

@ -23,6 +23,7 @@ export type PropsData = {
avatarPath?: string;
isMe: boolean;
isPublic?: boolean;
isRss?: boolean;
isClosable?: boolean;
lastUpdated: number;
@ -176,6 +177,7 @@ export class ConversationListItem extends React.PureComponent<Props> {
isBlocked,
isMe,
isClosable,
isRss,
isPublic,
hasNickname,
onDeleteContact,
@ -192,18 +194,18 @@ export class ConversationListItem extends React.PureComponent<Props> {
return (
<ContextMenu id={triggerId}>
{!isPublic && !isMe ? (
{!isPublic && !isRss && !isMe ? (
<MenuItem onClick={blockHandler}>{blockTitle}</MenuItem>
) : null}
{!isPublic && !isMe ? (
{!isPublic && !isRss && !isMe ? (
<MenuItem onClick={onChangeNickname}>
{i18n('changeNickname')}
</MenuItem>
) : null}
{!isPublic && !isMe && hasNickname ? (
{!isPublic && !isRss && !isMe && hasNickname ? (
<MenuItem onClick={onClearNickname}>{i18n('clearNickname')}</MenuItem>
) : null}
{!isPublic ? (
{!isPublic && !isRss ? (
<MenuItem onClick={onCopyPublicKey}>{i18n('copyPublicKey')}</MenuItem>
) : null}
<MenuItem onClick={onDeleteMessages}>{i18n('deleteMessages')}</MenuItem>

Loading…
Cancel
Save