diff --git a/Telegram/SourceFiles/boxes/add_contact_box.cpp b/Telegram/SourceFiles/boxes/add_contact_box.cpp
index 0cffd3c84..6a6072896 100644
--- a/Telegram/SourceFiles/boxes/add_contact_box.cpp
+++ b/Telegram/SourceFiles/boxes/add_contact_box.cpp
@@ -141,6 +141,11 @@ void ShowAddParticipantsError(
 			return PeerFloodErrorText(isGroup
 				? PeerFloodType::InviteGroup
 				: PeerFloodType::InviteChannel);
+		} else if (error == qstr("ADMINS_TOO_MUCH")) {
+			const auto isGroup = (chat->isChat() || chat->isMegagroup());
+			return lang(isGroup
+				? lng_error_admin_limit
+				: lng_error_admin_limit_channel);
 		}
 		return lang(lng_failed_add_participant);
 	}();
diff --git a/Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp b/Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp
index bde085fcd..fdb959ac6 100644
--- a/Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp
+++ b/Telegram/SourceFiles/boxes/peers/edit_participants_box.cpp
@@ -131,24 +131,7 @@ void SaveChannelAdmin(
 			onDone();
 		}
 	}).fail([=](const RPCError &error) {
-		if (error.type() == qstr("USER_NOT_MUTUAL_CONTACT")) {
-			Ui::show(
-				Box<InformBox>(PeerFloodErrorText(
-					channel->isMegagroup()
-					? PeerFloodType::InviteGroup
-					: PeerFloodType::InviteChannel)),
-				LayerOption::KeepOther);
-		} else if (error.type() == qstr("BOT_GROUPS_BLOCKED")) {
-			Ui::show(
-				Box<InformBox>(lang(lng_error_cant_add_bot)),
-				LayerOption::KeepOther);
-		} else if (error.type() == qstr("ADMINS_TOO_MUCH")) {
-			Ui::show(
-				Box<InformBox>(lang(channel->isMegagroup()
-					? lng_error_admin_limit
-					: lng_error_admin_limit_channel)),
-				LayerOption::KeepOther);
-		}
+		ShowAddParticipantsError(error.type(), channel, { 1, user });
 		if (onFail) {
 			onFail();
 		}