Fix post titles being cut off (fixes #2718) (#2720)

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
pull/2728/head
Nutomic 2023-02-11 03:35:23 +09:00 committed by GitHub
parent 3bfa8ab4ff
commit 3bb98fcc64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);