Fixes incorrect MiB size. (#8750)
Этот коммит содержится в:
коммит произвёл
Harrison Healey
родитель
c1853c7f40
Коммит
2eed7e4ebf
@@ -23,7 +23,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
MaxEmojiFileSize = 1000 * 1024 // 1 MB
|
MaxEmojiFileSize = 1 << 20 // 1 MB
|
||||||
MaxEmojiWidth = 128
|
MaxEmojiWidth = 128
|
||||||
MaxEmojiHeight = 128
|
MaxEmojiHeight = 128
|
||||||
)
|
)
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user