mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-08-17 18:32:43 +01:00
Round down video duration for story check
Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
co-authored by
Fedor Indutny
parent
efea7196e9
commit
189308c7ae
@@ -9,7 +9,7 @@ import {
|
||||
} from '../types/AttachmentSize.std.ts';
|
||||
import { explodePromise } from './explodePromise.std.ts';
|
||||
|
||||
const MAX_VIDEO_DURATION_IN_SEC = 30;
|
||||
const MAX_VIDEO_DURATION_IN_SEC = 30.999;
|
||||
|
||||
type MP4ArrayBuffer = ArrayBuffer & { fileStart: number };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user