Skip to content

Commit

Permalink
fix: bot group
Browse files Browse the repository at this point in the history
  • Loading branch information
Bloomingg committed Feb 21, 2023
1 parent 60e0368 commit abfe298
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pages/home/Cve/CveFooter/CveFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,9 @@ const CveFooter: ForwardRefRenderFunction<any, CveFooterProps> = ({ sendMsg, cur
}, [curCve.conversationID, curCve.draftText]);

const robotWaitCheck = () => {
if(!appConfig.robots.includes(latestCurcve.current.userID)){
return false
}
let message: MessageItem | undefined = undefined;
try {
message = JSON.parse(latestCurcve.current.latestMsg);
Expand Down

0 comments on commit abfe298

Please sign in to comment.