fallback to fixed size when video has no size info

This commit is contained in:
or-else
2023-01-02 13:18:26 -08:00
parent 1aadf4e7bd
commit 768edd744d
6 changed files with 12 additions and 7 deletions
+3
View File
@@ -53,6 +53,9 @@ export const MAX_AVATAR_BYTES = 4096;
// Size of the broken_image shown in MessagesView
export const BROKEN_IMAGE_SIZE = 32;
// Size of video preview when dimensions are missing.
export const NO_DIMENSIONS_VIDEO = 128;
// Number of chat messages to fetch in one call.
export const MESSAGES_PAGE = 24;