Skip to content

Commit

Permalink
Fix post titles being cut off (fixes #2718)
Browse files Browse the repository at this point in the history
I didnt notice that this limit would also apply to Lemmy and other
software which has the title field. So gonna change it to be
identical to db limit
  • Loading branch information
Nutomic committed Feb 9, 2023
1 parent 3bfa8ab commit 668e21c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/apub/src/objects/post.rs
Expand Up @@ -47,7 +47,7 @@ use lemmy_utils::{
use std::ops::Deref;
use url::Url;

const MAX_TITLE_LENGTH: usize = 100;
const MAX_TITLE_LENGTH: usize = 200;

#[derive(Clone, Debug)]
pub struct ApubPost(pub(crate) Post);
Expand Down

0 comments on commit 668e21c

Please sign in to comment.