fix(backend): mostr.pub, Mitraのユーザーをフォローできない問題を修正

This commit is contained in:
typeling1578 2023-09-07 04:20:31 +09:00
parent 98462ccbaf
commit 9685715e64
No known key found for this signature in database
GPG Key ID: 5692E17038BB2920
2 changed files with 2 additions and 1 deletions

View File

@ -57,6 +57,7 @@
- Fix: muteがapiからのuser list timeline取得で機能しない問題を修正
- Fix: ジョブキュー管理画面の認証を回避できる問題を修正
- Fix: 一部のサーバー内部エラーがスタックトレースを返さないように修正
- Fix: 一部のユーザーをフォローすることができない問題を修正
## 13.14.2

View File

@ -494,7 +494,7 @@ export class UserFollowingService implements OnModuleInit {
}
if (this.userEntityService.isLocalUser(follower) && this.userEntityService.isRemoteUser(followee)) {
const content = this.apRendererService.addContext(this.apRendererService.renderFollow(follower as MiPartialLocalUser, followee as MiPartialRemoteUser, requestId ?? `${this.config.url}/follows/${followRequest.id}`));
const content = this.apRendererService.addContext(this.apRendererService.renderFollow(follower as MiPartialLocalUser, followee as MiPartialRemoteUser, requestId ?? `${this.config.url}/follows/${follower.id}/${followee.id}`));
this.queueService.deliver(follower, content, followee.inbox, false);
}
}