add back way to remove existing nickname set for a user

pull/1380/head
Audric Ackermann 5 years ago
parent 1f9aff5d1d
commit 599b2e6555
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -626,6 +626,9 @@
onInviteContacts: () => {
window.Whisper.events.trigger('inviteContacts', this);
},
onClearNickname: () => {
this.setLokiProfile({ displayName: null });
},
};
return result;

@ -64,6 +64,7 @@ type PropsHousekeeping = {
onCopyPublicKey?: () => void;
onUnblockContact?: () => void;
onInviteContacts?: () => void;
onClearNickname?: () => void;
};
type Props = PropsData & PropsHousekeeping;
@ -199,14 +200,14 @@ export class ConversationListItem extends React.PureComponent<Props> {
{i18n('changeNickname')}
</MenuItem>
) : null} */}
{ /* getClearNicknameMenuItem(
{ getClearNicknameMenuItem(
isPublic,
isRss,
isMe,
hasNickname,
onClearNickname,
i18n
) */}
) }
{getCopyIdMenuItem(
isPublic,
isRss,

Loading…
Cancel
Save