digestプリレンダを復活させる
RFC実装時にどうするか考える
This commit is contained in:
parent
25cc9e0bf1
commit
eefca034fc
4 changed files with 10 additions and 6 deletions
|
|
@ -76,7 +76,7 @@ export class DeliverProcessorService {
|
|||
await this.fetchInstanceMetadataService.fetchInstanceMetadata(_server).then(() => {});
|
||||
const server = await this.federatedInstanceService.fetch(host);
|
||||
|
||||
await this.apRequestService.signedPost(job.data.user, job.data.to, job.data.content, server.httpMessageSignaturesImplementationLevel);
|
||||
await this.apRequestService.signedPost(job.data.user, job.data.to, job.data.content, server.httpMessageSignaturesImplementationLevel, job.data.digest);
|
||||
|
||||
// Update stats
|
||||
if (server.isNotResponding) {
|
||||
|
|
|
|||
|
|
@ -32,6 +32,8 @@ export type DeliverJobData = {
|
|||
user: ThinUser;
|
||||
/** Activity */
|
||||
content: string;
|
||||
/** Digest header */
|
||||
digest: string;
|
||||
/** inbox URL to deliver */
|
||||
to: string;
|
||||
/** whether it is sharedInbox */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue