make link 25 characters

This commit is contained in:
Denis-Cosmin Nutiu 2025-01-09 19:44:02 +02:00
parent 78bfbf3cd8
commit 199c8e8b12

View file

@ -32,7 +32,7 @@ impl From<NewsPost> for PostStatusRequest {
let link = value.link.unwrap();
// reserve space for the link + one space
character_budget -= link.len() as i32 + 2;
character_budget -= 25;
// Push the title
if character_budget > 0 {