unoffical wafrn mirror wafrn.net
atproto social-network activitypub

mentioned users should always bee on the canreply

+2 -4
+2 -4
packages/backend/utils/activitypub/postToJSONLD.ts
··· 305 305 if([InteractionControl.SameAsOp].includes(canReplyValue)) { 306 306 canReply.push("sameAsInitialPost") 307 307 } 308 - // mentionedUsers 309 - if([InteractionControl.MentionedUsersOnly, InteractionControl.FollowersAndMentioned, InteractionControl.FollowingAndMentioned, InteractionControl.FollowersFollowingAndMentioned].includes(canReplyValue)) { 310 - canReply = canReply.concat(mentionedUsers) 311 - } 308 + // mentionedUsers will always bee able to reply 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 }