fix: Join Request Error Notice

This commit is contained in:
xtaodada 2022-09-26 18:51:26 +08:00
parent e3cba4839d
commit 0fa4840f24
Signed by: xtaodada
GPG Key ID: 4CBB3F4FA8C85659

View File

@ -486,6 +486,12 @@ public class AlertsCreator {
showSimpleToast(fragment, error.text);
break;
}
} else if (request instanceof TLRPC.TL_messages_hideChatJoinRequest) {
if ("USER_CHANNELS_TOO_MUCH".equals(error.text)) {
showAddUserAlert(error.text, fragment, true, request);
} else {
showSimpleToast(fragment, error.text);
}
}
return null;