mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Fixed some unused-but-set-variable warnings.
This commit is contained in:
@@ -808,7 +808,7 @@ void AddParticipantsBoxController::rowClicked(not_null<PeerListRow*> row) {
|
||||
updateTitle();
|
||||
} else if (const auto channel = _peer ? _peer->asChannel() : nullptr) {
|
||||
if (!_peer->isMegagroup()) {
|
||||
showBox(Box<MaxInviteBox>(_peer->asChannel()));
|
||||
showBox(Box<MaxInviteBox>(channel));
|
||||
}
|
||||
} else if (count >= serverConfig.chatSizeMax
|
||||
&& count < serverConfig.megagroupSizeMax) {
|
||||
|
||||
Reference in New Issue
Block a user