Merge branch 'develop' into ed25519

This commit is contained in:
tamaina
2024-06-11 14:32:54 +09:00
316 changed files with 12361 additions and 1693 deletions

View File

@@ -56,11 +56,11 @@ export class RelayService {
@bindThis
public async addRelay(inbox: string): Promise<MiRelay> {
const relay = await this.relaysRepository.insert({
const relay = await this.relaysRepository.insertOne({
id: this.idService.gen(),
inbox,
status: 'requesting',
}).then(x => this.relaysRepository.findOneByOrFail(x.identifiers[0]));
});
const relayActor = await this.getRelayActor();
const follow = await this.apRendererService.renderFollowRelay(relay, relayActor);