mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-18 23:27:09 +02:00
Hide Share contact button in saved messages.
This commit is contained in:
parent
775cede16f
commit
d77afef8b0
1 changed files with 3 additions and 3 deletions
|
@ -263,10 +263,10 @@ void Filler::addBlockUser(not_null<UserData*> user) {
|
|||
void Filler::addUserActions(not_null<UserData*> user) {
|
||||
if (_source != PeerMenuSource::ChatsList) {
|
||||
if (user->isContact()) {
|
||||
_addAction(
|
||||
lang(lng_info_share_contact),
|
||||
[user] { PeerMenuShareContactBox(user); });
|
||||
if (!user->isSelf()) {
|
||||
_addAction(
|
||||
lang(lng_info_share_contact),
|
||||
[user] { PeerMenuShareContactBox(user); });
|
||||
_addAction(
|
||||
lang(lng_info_edit_contact),
|
||||
[user] { Ui::show(Box<AddContactBox>(user)); });
|
||||
|
|
Loading…
Add table
Reference in a new issue