mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Show videos in premium preview boxes.
This commit is contained in:
@@ -1353,6 +1353,12 @@ LocationType DocumentData::locationType() const {
|
||||
: DocumentFileLocation;
|
||||
}
|
||||
|
||||
void DocumentData::forceIsStreamedAnimation() {
|
||||
type = AnimatedDocument;
|
||||
_additional = nullptr;
|
||||
setMaybeSupportsStreaming(true);
|
||||
}
|
||||
|
||||
bool DocumentData::isVoiceMessage() const {
|
||||
return (type == VoiceDocument);
|
||||
}
|
||||
|
Reference in New Issue
Block a user