#social 2018-09-30
2018-09-30 UTC
# nightpool[m] Undo
{ Accept { Follow } } }
is used to signal that someone should unfollow you.# nightpool[m] you're undoing the original Accept activity that approved them in the first place
# nightpool[m] basically equivalent to blocking and then unblocking them in quick succession, a soft-block
# nightpool[m] we generally consider the two to be interchangable
# nightpool[m] we process activities in the order we receive them
# nightpool[m] if you reject a follow that you've already accepted, it has the same effect as undoing that accept
# nightpool[m] some people prefer one, some the other.
# nightpool[m] i dont really have a preference
# nightpool[m] well, just check the type of the object of the Accept activity?
# nightpool[m] shrugs
# nightpool[m] i can talk about the way mastodon's code is structured, but i don't know your codebase, don't know what's idiomatic for you
# nightpool[m] natural, normal for your codebase/language/style
# nightpool[m] in mastodon we have a general activity-type dispatcher and then if we need to use conditionals further we just do it in the processor class.