mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Apply ignore_restriction_reasons from config.
This commit is contained in:
@@ -1593,7 +1593,7 @@ void MainWidget::ui_showPeerHistory(
|
||||
peerId = peer->id;
|
||||
if (showAtMsgId > 0) showAtMsgId = -showAtMsgId;
|
||||
}
|
||||
const auto unavailable = peer->unavailableReason();
|
||||
const auto unavailable = peer->computeUnavailableReason();
|
||||
if (!unavailable.isEmpty()) {
|
||||
if (params.activation != anim::activation::background) {
|
||||
Ui::show(Box<InformBox>(unavailable));
|
||||
|
||||
Reference in New Issue
Block a user