Fix warning.

This commit is contained in:
levlam 2023-10-30 23:17:39 +03:00
parent 450a00a8a8
commit 6ca71be27d

View File

@ -3787,6 +3787,8 @@ vector<ChannelId> get_message_content_min_channel_ids(const Td *td, const Messag
const auto *content = static_cast<const MessageGiveaway *>(message_content); const auto *content = static_cast<const MessageGiveaway *>(message_content);
return content->giveaway_parameters.get_channel_ids(); return content->giveaway_parameters.get_channel_ids();
} }
default:
break;
} }
return {}; return {};
} }