Remove debug code path (always error display).

This commit is contained in:
John Preston 2022-06-14 19:51:51 +04:00
parent c37012efec
commit 9b7e19e9c5

View file

@ -1630,9 +1630,6 @@ void ApiWrap::saveStickerSets(
}
void ApiWrap::joinChannel(not_null<ChannelData*> channel) {
Ui::show(Box(ChannelsLimitBox, _session));
AssertIsDebug();
return;
if (channel->amIn()) {
session().changes().peerUpdated(
channel,