spec(ActivityPub): 個別ユーザーのinboxに届いた限定公開のPostはそのユーザーに閲覧権限があると見なす (MisskeyIO#361)
This commit is contained in:
parent
fd0966bc8c
commit
83bf53c600
8 changed files with 112 additions and 24 deletions
|
|
@ -137,8 +137,9 @@ export class QueueService {
|
|||
}
|
||||
|
||||
@bindThis
|
||||
public inbox(activity: IActivity, signature: httpSignature.IParsedSignature) {
|
||||
public inbox(user: ThinUser | null, activity: IActivity, signature: httpSignature.IParsedSignature) {
|
||||
const data = {
|
||||
user: user ?? undefined,
|
||||
activity: activity,
|
||||
signature,
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue