mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Made calls check less restricted to avoid redundant repaint in profiles.
This commit is contained in:
@@ -798,7 +798,7 @@ void TopBar::setupActions(not_null<Window::SessionController*> controller) {
|
||||
&& user
|
||||
&& !user->sharedMediaInfo()
|
||||
&& !user->isInaccessible()
|
||||
&& user->hasCalls()) {
|
||||
&& user->callsStatus() != UserData::CallsStatus::Disabled) {
|
||||
const auto call = Ui::CreateChild<TopBarActionButton>(
|
||||
this,
|
||||
tr::lng_profile_action_short_call(tr::now),
|
||||
|
||||
Reference in New Issue
Block a user