mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Fix: Hide 'My gifts' tab when gifting to self
This commit is contained in:
@@ -2928,7 +2928,7 @@ void AddBlock(
|
||||
window,
|
||||
peer,
|
||||
state->gifts.value(),
|
||||
!state->my.list.empty());
|
||||
!state->my.list.empty() && !peer->isSelf());
|
||||
state->priceTab = std::move(tabs.priceTab);
|
||||
result->add(std::move(tabs.widget));
|
||||
result->add(MakeGiftsList(window, peer, rpl::combine(
|
||||
|
Reference in New Issue
Block a user