this post was submitted on 30 Oct 2024
16 points (100.0% liked)
PieFed Meta
323 readers
2 users here now
Discuss PieFed project direction, provide feedback, ask questions, suggest improvements, and engage in conversations related to the platform organization, policies, features, and community dynamics.
Wiki
founded 10 months ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Shit, yeah. I think you're exactly right.
There's one community, with ID 870, that's in a Topic, but if you look at the host community's most recent post - at https://piefed.social/post/301064 - that's not in that first community (I don't know the ID, but I can see that it's not in a Topic). I don't know how the find the second community just using the website, because https://piefed.social/c/tenforward@lemmy.world only ever gets the first one, that stopped updating 3 days ago.
It might be that there's a call to 'find_or_create' where 'create_if_not_found' needs to be specified, because it's not being found for some reason.
I'm not sure what you mean by the latter - b/c in this case the community definitely exists, so "creating" it if the ID were to ever not be found would lead to... well, it could have lead to exactly something like this, actually? Also, would you really want to pull in posts from a community that doesn't already exist on a PieFed instance? Why even, especially if nobody has asked for it? So maybe instead of find_or_create, just a find_or_ignore?
But I have zero experience with ActivityPub, federation, or even much threaded-style programming, so I will leave such to you experts to puzzle out the actual solution!:-)
Yeah. It's just one theory as to what's happened - something like a 'delete post in this community' has come in, and PieFed hasn't been able to find the community, so it's happily created a new one. I don't know why it would be able to find the community, but I'll look into preventing this kind of occurrence.
It might not be what's actually happened here: it's something for Rimu to solve really (he has direct access to everything). Edit: ignore me, he's just answered, lol.
He's so fast!:-)