Increase maximum number of custom emojis per post to 50

This commit is contained in:
silverpill 2023-04-01 00:40:32 +00:00
parent 3c2d2d124b
commit 300d2ef6f8
2 changed files with 6 additions and 2 deletions

View file

@ -6,7 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [Unreleased] ## [Unreleased]
## [1.19.0] - 2023-03-31 ### Changed
- Increase maximum number of custom emojis per post to 50.
## [1.19.1] - 2023-03-31
### Changed ### Changed

View file

@ -5,7 +5,7 @@ use crate::errors::ValidationError;
pub const ATTACHMENTS_MAX_NUM: usize = 15; pub const ATTACHMENTS_MAX_NUM: usize = 15;
pub const MENTIONS_MAX_NUM: usize = 50; pub const MENTIONS_MAX_NUM: usize = 50;
pub const LINKS_MAX_NUM: usize = 10; pub const LINKS_MAX_NUM: usize = 10;
pub const EMOJIS_MAX_NUM: usize = 20; pub const EMOJIS_MAX_NUM: usize = 50;
pub const CONTENT_MAX_SIZE: usize = 100000; pub const CONTENT_MAX_SIZE: usize = 100000;
const CONTENT_ALLOWED_TAGS: [&str; 8] = [ const CONTENT_ALLOWED_TAGS: [&str; 8] = [