Skip to content

Commit

Permalink
Merge branch 'ed25519' into p1
Browse files Browse the repository at this point in the history
  • Loading branch information
tamaina committed Jul 17, 2024
2 parents 94ea530 + c80b16c commit ff5f6a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/backend/src/core/UserKeypairService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export class UserKeypairService implements OnApplicationShutdown {
* @returns MiUserKeypair if keypair is created, void if keypair is already exists
*/
@bindThis
public async refreshAndprepareEd25519KeyPair(userId: MiUser['id']): Promise<MiUserKeypair | void> {
public async refreshAndPrepareEd25519KeyPair(userId: MiUser['id']): Promise<MiUserKeypair | void> {
await this.refresh(userId);
const keypair = await this.keypairEntityCache.fetch(userId);
if (keypair.ed25519PublicKey != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ class DeliverManager {
/**
* ed25519の署名がなければ追加する
*/
const created = await this.userKeypairService.refreshAndprepareEd25519KeyPair(this.actor.id);
const created = await this.userKeypairService.refreshAndPrepareEd25519KeyPair(this.actor.id);
if (created) {
// createdが存在するということは新規作成されたということなので、フォロワーに配信する
this.logger.info(`ed25519 key pair created for user ${this.actor.id} and publishing to followers`);
Expand Down

0 comments on commit ff5f6a3

Please sign in to comment.