tangled
alpha
login
or
join now
jbc.lol
/
wafrn
1
fork
atom
unoffical wafrn mirror
wafrn.net
atproto
social-network
activitypub
1
fork
atom
overview
issues
1
pulls
pipelines
mentioned users should always bee on the canreply
Gabriel Amador
1 month ago
220284b9
ff20d24f
+2
-4
1 changed file
expand all
collapse all
unified
split
packages
backend
utils
activitypub
postToJSONLD.ts
+2
-4
packages/backend/utils/activitypub/postToJSONLD.ts
reviewed
···
305
305
if([InteractionControl.SameAsOp].includes(canReplyValue)) {
306
306
canReply.push("sameAsInitialPost")
307
307
}
308
308
-
// mentionedUsers
309
309
-
if([InteractionControl.MentionedUsersOnly, InteractionControl.FollowersAndMentioned, InteractionControl.FollowingAndMentioned, InteractionControl.FollowersFollowingAndMentioned].includes(canReplyValue)) {
310
310
-
canReply = canReply.concat(mentionedUsers)
311
311
-
}
308
308
+
// mentionedUsers will always bee able to reply
309
309
+
canReply = canReply.concat(mentionedUsers)
312
310
if([InteractionControl.Followers, InteractionControl.FollowersAndFollowing, InteractionControl.FollowersAndMentioned, InteractionControl.FollowersFollowingAndMentioned].includes(canReplyValue)) {
313
311
canReply = canReply.concat(stringMyFollowers)
314
312
}