From dd66a2e0bdf5b196f5835389a5e81010935b5a69 Mon Sep 17 00:00:00 2001 From: Il Harper Date: Sun, 7 Apr 2024 19:20:27 +0800 Subject: [PATCH] fix(api): fix `friend.list` slow --- packages/engine-chronocat-api/src/handler.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/engine-chronocat-api/src/handler.ts b/packages/engine-chronocat-api/src/handler.ts index 89f644c..eb003ce 100644 --- a/packages/engine-chronocat-api/src/handler.ts +++ b/packages/engine-chronocat-api/src/handler.ts @@ -200,6 +200,8 @@ const responseDispatcher = async ( } } + chronoEventEmitter.emitBuddyListChange() + return }