Hide share contact button if phone is hidden
This commit is contained in:
parent
dbecd32d69
commit
3006054912
@ -447,7 +447,7 @@ export default class ChatTopbar {
|
||||
selfPresence: 'ChatYourSelf'
|
||||
});
|
||||
},
|
||||
verify: () => rootScope.myId !== this.peerId && this.peerId.isUser() && this.appPeersManager.isContact(this.peerId)
|
||||
verify: () => rootScope.myId !== this.peerId && this.peerId.isUser() && this.appPeersManager.isContact(this.peerId) && !!this.appUsersManager.getUser(this.peerId.toUserId()).phone
|
||||
}, {
|
||||
icon: 'lock',
|
||||
text: 'BlockUser',
|
||||
|
Loading…
Reference in New Issue
Block a user