Browse Source

Hide share contact button if phone is hidden

master
Eduard Kuzmenko 3 years ago
parent
commit
3006054912
  1. 2
      src/components/chat/topbar.ts

2
src/components/chat/topbar.ts

@ -447,7 +447,7 @@ export default class ChatTopbar {
selfPresence: 'ChatYourSelf' 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', icon: 'lock',
text: 'BlockUser', text: 'BlockUser',

Loading…
Cancel
Save