fix(server): アンテナ再有効の手段にアンテナ設定の更新を追加 (#11036)

* fix(server): アンテナ再有効の手段にアンテナの表示とアンテナ設定の更新を追加

* 無効+Redisも空なアンテナの再有効化手段を antennas/update だけに
This commit is contained in:
meron 2023-07-21 10:06:11 +09:00 committed by GitHub
parent 0d2e3df061
commit 2801946226
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 0 deletions

View file

@ -71,6 +71,9 @@
- Fix: インスタンスのアイコンがbase64の場合の挙動を修正 - Fix: インスタンスのアイコンがbase64の場合の挙動を修正
- Fix: ローカルの `Person` を指す `acct` URI を解析するときのバグを修正しました - Fix: ローカルの `Person` を指す `acct` URI を解析するときのバグを修正しました
### Server
- Fix: 無効化されたアンテナは設定変更時にも再度有効化されるように
## 13.13.2 ## 13.13.2
### General ### General

View file

@ -112,6 +112,8 @@ export default class extends Endpoint<typeof meta, typeof paramDef> {
withReplies: ps.withReplies, withReplies: ps.withReplies,
withFile: ps.withFile, withFile: ps.withFile,
notify: ps.notify, notify: ps.notify,
isActive: true,
lastUsedAt: new Date(),
}); });
this.globalEventService.publishInternalEvent('antennaUpdated', await this.antennasRepository.findOneByOrFail({ id: antenna.id })); this.globalEventService.publishInternalEvent('antennaUpdated', await this.antennasRepository.findOneByOrFail({ id: antenna.id }));