Open Tealk opened 1 year ago
The check for posting restricted to mods was missing from federation code, I added that just now.
About Mastodon posts in general, there is no setting yet to allow/disallow them. We can implement that, the question is how. Should it be a site setting or community setting? Allowed or disallowed by default?
I would do it as a community setting, then you have the greatest freedom in the selection. Default would be active useful I would say because then it corresponds more to the idea of fediverse
What would be a circumstance where people would want a mastodon specific setting? Wouldn't it just be better to add that instance to your blocklist?
Is there a reason not to? Why not give the Amdins and users the opportunity and let them decide for themselves?
Because it gets out of hand really quickly, soon we'll have to start adding software-specific settings for every type of fediverse software lemmy connects with. What makes mastodon a candidate for this, and not pleroma, or peertube?
And I still don't know exactly what your use-case is.
With mastodon the problem is that it has no title field and therefore the heading consists of the first x characters.
Maybe you just don't want to be able to create posts away from lemmy and only reply to existing ones.
In principle, I now have no particular reason to disable the creation of posts from non-lemmy instances, at mastodon it is just simply the title thematik
The setting wouldnt be about Mastodon, but whether posts without title should be accepted or not. It just happens that most of these posts come from Mastodon.
Maybe we should coerce a title from the content, even when there isn't one? Our post.title
is a required / NOT NULL column anyway.
Thats what we are doing but it doesnt always work well (eg if someone tags a community by accident).
https://github.com/LemmyNet/lemmy/blob/main/crates/apub/src/objects/post.rs#L197-L217
Issue Summary
Mastodon now seems to create posts in lemmy when the community is mentioned.
https://lemmy.rollenspiel.monster/c/rm_news
Steps to Reproduce
Technical details
Lemmy 0.17.1 Lemmy-UI 0.17.1