feat: add chat visibility controls and improve quote reader permissions (#6102)

* feat: add chat visibility controls and improve quote reader permissions

* fix test

* zod

* fix

* test & openapi

* frontend filter

* update name

* fix

* fix

* rename variables

* fix

* test

* fix build

* fix

* fix

---------

Co-authored-by: archer <545436317@qq.com>
This commit is contained in:
heheer 2025-12-22 18:16:44 +08:00 committed by archer
parent 4fbe27f2df
commit d8cc4a0d52
No known key found for this signature in database
GPG Key ID: 4446499B846D4A9E

View File

@ -117,9 +117,12 @@ const ChatContent = (props: ChatPageProps) => {
};
}, [appId, chatId]);
const loginSuccess = useCallback(async (res: LoginSuccessResponse) => {
setUserInfo(res.user);
}, []);
const loginSuccess = useCallback(
async (res: LoginSuccessResponse) => {
setUserInfo(res.user);
},
[setUserInfo]
);
// Waiting for user info to be initialized
if (!isInitedUser) {