12
submitted 1 week ago* (last edited 1 week ago) by jet@hackertalks.com to c/lemmy_support@lemmy.ml

hackertalks.com 0.19.11 - lone subscriber instance

lemmyworld.com 0.19.10 - ban and unban instance.

Single subscriber for a community gets banned, and a hour later gets unbanned. Since the subscriber is banned, the subscription appears to terminate. So there is no federation for the unban a hour later for that community.

note lemmy-federate doesn't subscribe if there is a local subscriber either.

Example community:

you are viewing a single comment's thread
view the rest of the comments
[-] jet@hackertalks.com 3 points 1 week ago* (last edited 1 week ago)

Any way to force the federation of the unban later to get the instance to sync the current ban status?

[-] Nothing4You@programming.dev 2 points 1 week ago

the unban itself federates, but on community bans the user gets unsubscribed from the communities, which deletes the associated subscription in the db.

skimming over the code it seems to be only happening in case of community bans (including the ones derived from instance bans on 0.19), but it should also remove your local subscription on your own instance. as long as that federates it should still be picked up by lemmy-federate eventually, as your local instance should also have removed that when receiving the community ban.

it might be debatable whether subscriptions should get removed with community bans for public communities, but overall the code logic seems to be there. i haven't tested this end to end yet.

[-] nutomic@lemmy.ml 3 points 1 week ago

This was fixed in a pr some time ago, though I don't have the link now.

this post was submitted on 29 Apr 2025
12 points (100.0% liked)

Lemmy Support

4848 readers
23 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 6 years ago
MODERATORS