Since the latest upgrade, posts federated from (and to!) other lemmy instances are having their titles on lemmy.ml truncated to 100 characters.

At first i thought this must be due to a different configured character limit on different instances, but then I noticed that (1) posts here on lemmy.ml are still allowed to have longer titles (200 chars is the client side limit I see currently, at least) and (2) this is oddly happening here on lemmy.ml also to posts made by lemmy.ml users to remote instances.

Compare these two posts from a lemmy.ml user, which should have the same title:

  • https://lemmy.ml/post/753535 “What’s a good tablet and touch screen oriented Linux distro or desktop environment? Can any of them compete with something like Android?”
  • https://lemmy.ml/post/753536 “What’s a good tablet and touch screen oriented Linux distro or desktop environment? Can any of them”

The second of those was posted to a remote community on lemmygrad, but by a lemmy.ml user. Note that the lemmygrad version of that same post does not have its title truncated.

Here is lemmy.ml’s truncated version of a post to a beehaw community from a beehaw user (and again, that title is not truncated in beehaw’s copy of the post).

tldr: afaict this problem is only occurring on lemmy.ml’s versions of posts in remote communities, and happens regardless of if the post was made via lemmy.ml or not.

edit: i guess probably this recent commit from @nutomic@lemmy.ml will fix it? but I’m still curious why this currently appears to be happening only on lemmy.ml’s versions of posts in remote communities (and in both directions).

edit2: ok, i see it is actually happening elsewhere too, eg the lemmygrad copy of the /c/linux tablet post above. So, I guess it is currently happening to any remote community anywhere, regardless of where the user posting from. 🤔 thanks @nutomic@lemmy.ml for (presumably) fixing it already and sorry for the noise.

  • Salamander
    link
    fedilink
    31 year ago

    The MAX_TITLE_LENGTH is applied to posts that are fetched from other instances using activitypub. The posts that are posted within an instance do not pass through that processing step.