2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Enable voice messages streaming.

This commit is contained in:
John Preston
2019-03-06 11:46:56 +04:00
parent 195164d9d4
commit 41c60419f1
4 changed files with 12 additions and 11 deletions

View File

@@ -56,7 +56,11 @@ void AutoDownloadBox::setupContent() {
this,
std::move(wrap)));
static const auto kHidden = { Type::Video, Type::Music };
static const auto kHidden = {
Type::Video,
Type::Music,
Type::VoiceMessage
};
const auto values = Ui::CreateChild<base::flat_map<Type, int>>(content);
const auto add = [&](Type type, LangKey label) {