2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-30 22:16:14 +00:00

Excluded media with ttl from shared media.

This commit is contained in:
23rd
2024-01-09 17:25:08 +03:00
committed by John Preston
parent 53e95a7f74
commit c43dfecec6

View File

@@ -902,7 +902,7 @@ bool MediaFile::uploading() const {
Storage::SharedMediaTypesMask MediaFile::sharedMediaTypes() const {
using Type = Storage::SharedMediaType;
if (_document->sticker()) {
if (_document->sticker() || ttlSeconds()) {
return {};
} else if (_document->isVideoMessage()) {
return Storage::SharedMediaTypesMask{}