mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
@@ -165,8 +165,8 @@ MimeDataState ComputeMimeDataState(const QMimeData *data) {
|
||||
const auto filesize = info.size();
|
||||
if (filesize > kFileSizePremiumLimit) {
|
||||
return MimeDataState::None;
|
||||
} else if (filesize > kFileSizeLimit) {
|
||||
return MimeDataState::PremiumFile;
|
||||
//} else if (filesize > kFileSizeLimit) {
|
||||
// return MimeDataState::PremiumFile;
|
||||
} else if (allAreSmallImages) {
|
||||
if (filesize > Images::kReadBytesLimit) {
|
||||
allAreSmallImages = false;
|
||||
|
@@ -23,7 +23,7 @@ enum class MimeDataState {
|
||||
None,
|
||||
Files,
|
||||
PhotoFiles,
|
||||
PremiumFile,
|
||||
//PremiumFile,
|
||||
Image,
|
||||
};
|
||||
|
||||
|
Submodule Telegram/lib_webrtc updated: e5c89d2c55...9b11599c3c
Reference in New Issue
Block a user