mirror of
https://github.com/sim1222/misskey.git
synced 2025-08-03 23:16:28 +09:00
fix: クエリキャッシュ無効化時の絵文字操作エラーを解消 (#10320)
* disabledCache: trueのときにqueryResultCacheへアクセスしないように * append changelog
This commit is contained in:
@ -58,7 +58,7 @@ export class CustomEmojiService {
|
||||
}).then(x => this.emojisRepository.findOneByOrFail(x.identifiers[0]));
|
||||
|
||||
if (data.host == null) {
|
||||
await this.db.queryResultCache!.remove(['meta_emojis']);
|
||||
await this.db.queryResultCache?.remove(['meta_emojis']);
|
||||
|
||||
this.globalEventService.publishBroadcastStream('emojiAdded', {
|
||||
emoji: await this.emojiEntityService.packDetailed(emoji.id),
|
||||
|
Reference in New Issue
Block a user