Fix stickers on Linux 32 bit.
This commit is contained in:
parent
f2b3d9714f
commit
7a11d1e31f
|
@ -29,6 +29,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||
#include "media/streaming/media_streaming_loader.h" // unique_ptr<Loader>
|
||||
#include "media/streaming/media_streaming_reader.h" // make_shared<Reader>
|
||||
#include "boxes/abstract_box.h"
|
||||
#include "platform/platform_info.h"
|
||||
#include "passport/passport_form_controller.h"
|
||||
#include "window/themes/window_theme.h"
|
||||
#include "lang/lang_keys.h" // tr::lng_deleted(tr::now) in user name
|
||||
|
@ -205,6 +206,14 @@ Session::Session(not_null<AuthSession*> session)
|
|||
_cache->open(Local::cacheKey());
|
||||
_bigFileCache->open(Local::cacheBigFileKey());
|
||||
|
||||
if constexpr (Platform::IsLinux()) {
|
||||
const auto wasVersion = Local::oldMapVersion();
|
||||
if (wasVersion >= 1007011 && wasVersion < 1007015) {
|
||||
_bigFileCache->clear();
|
||||
_cache->clearByTag(Data::kImageCacheTag);
|
||||
}
|
||||
}
|
||||
|
||||
setupContactViewsViewer();
|
||||
setupChannelLeavingViewer();
|
||||
setupPeerNameViewer();
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 40ccf084445c60a32d72d4811edf0efd0580dcaa
|
||||
Subproject commit 302b7f98b4f6846dc2414d9a5dc6c44864b92dd3
|
|
@ -111,11 +111,7 @@
|
|||
'<(rlottie_src)/vector/vstackallocator.h',
|
||||
'<(rlottie_src)/vector/vtaskqueue.h',
|
||||
],
|
||||
'conditions': [[ 'not build_win', {
|
||||
'defines': [
|
||||
'RLOTTIE_WITH_STATIC_QT',
|
||||
]
|
||||
}], [ 'build_macold', {
|
||||
'conditions': [[ 'build_macold', {
|
||||
'xcode_settings': {
|
||||
'OTHER_CPLUSPLUSFLAGS': [ '-nostdinc++' ],
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue