mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 22:25:12 +00:00
Excluded media with ttl from shared media.
This commit is contained in:
@@ -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{}
|
||||
|
Reference in New Issue
Block a user