mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-14 13:17:08 +02:00
Excluded media with ttl from shared media.
This commit is contained in:
parent
53e95a7f74
commit
c43dfecec6
1 changed files with 1 additions and 1 deletions
|
@ -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{}
|
||||
|
|
Loading…
Add table
Reference in a new issue