mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Show all stickers as emoji after default categories.
This commit is contained in:
@@ -708,7 +708,7 @@ void DocumentData::automaticLoadSettingsChanged() {
|
||||
return;
|
||||
}
|
||||
_loader = nullptr;
|
||||
_flags &= ~Flag::DownloadCancelled;
|
||||
resetCancelled();
|
||||
}
|
||||
|
||||
void DocumentData::finishLoad() {
|
||||
@@ -867,7 +867,7 @@ void DocumentData::save(
|
||||
cancel();
|
||||
}
|
||||
}
|
||||
_flags &= ~Flag::DownloadCancelled;
|
||||
resetCancelled();
|
||||
|
||||
if (_loader) {
|
||||
if (fromCloud == LoadFromCloudOrLocal) {
|
||||
@@ -992,6 +992,10 @@ bool DocumentData::cancelled() const {
|
||||
return (_flags & Flag::DownloadCancelled);
|
||||
}
|
||||
|
||||
void DocumentData::resetCancelled() {
|
||||
_flags &= ~Flag::DownloadCancelled;
|
||||
}
|
||||
|
||||
VoiceWaveform documentWaveformDecode(const QByteArray &encoded5bit) {
|
||||
auto bitsCount = static_cast<int>(encoded5bit.size() * 8);
|
||||
auto valuesCount = bitsCount / 5;
|
||||
|
Reference in New Issue
Block a user