mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
restricted peers support added
This commit is contained in:
@@ -7566,6 +7566,12 @@ void HistoryWidget::peerUpdated(PeerData *data) {
|
||||
QTimer::singleShot(ReloadChannelMembersTimeout, App::api(), SLOT(delayedRequestParticipantsCount()));
|
||||
return;
|
||||
}
|
||||
QString restriction = _peer->restrictionReason();
|
||||
if (!restriction.isEmpty()) {
|
||||
Ui::showChatsList();
|
||||
Ui::showLayer(new InformBox(restriction));
|
||||
return;
|
||||
}
|
||||
bool resize = false;
|
||||
if (pinnedMsgVisibilityUpdated()) {
|
||||
resize = true;
|
||||
|
Reference in New Issue
Block a user