Add check just in case.

This commit is contained in:
levlam 2022-09-19 16:34:28 +03:00
parent b9bd024969
commit 06e1ebf809

View File

@ -24528,6 +24528,7 @@ Result<td_api::object_ptr<td_api::availableReactions>> MessagesManager::get_mess
FlatHashSet<string> all_available_reactions; FlatHashSet<string> all_available_reactions;
for (const auto &reaction : available_reactions.reactions_) { for (const auto &reaction : available_reactions.reactions_) {
CHECK(!reaction.empty());
all_available_reactions.insert(reaction); all_available_reactions.insert(reaction);
} }