make link 25 characters
This commit is contained in:
parent
78bfbf3cd8
commit
199c8e8b12
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ impl From<NewsPost> for PostStatusRequest {
|
||||||
let link = value.link.unwrap();
|
let link = value.link.unwrap();
|
||||||
|
|
||||||
// reserve space for the link + one space
|
// reserve space for the link + one space
|
||||||
character_budget -= link.len() as i32 + 2;
|
character_budget -= 25;
|
||||||
|
|
||||||
// Push the title
|
// Push the title
|
||||||
if character_budget > 0 {
|
if character_budget > 0 {
|
||||||
|
|
Loading…
Reference in a new issue