diff --git a/CHANGELOG.md b/CHANGELOG.md index d435d77..8ace2d3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,7 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [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 diff --git a/src/validators/posts.rs b/src/validators/posts.rs index 494027e..1e9e33c 100644 --- a/src/validators/posts.rs +++ b/src/validators/posts.rs @@ -5,7 +5,7 @@ use crate::errors::ValidationError; pub const ATTACHMENTS_MAX_NUM: usize = 15; pub const MENTIONS_MAX_NUM: usize = 50; 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; const CONTENT_ALLOWED_TAGS: [&str; 8] = [