Joel преди 1 година
родител
ревизия
b23de4affc
променени са 2 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 1 0
      web/app/components/explore/universal-chat/index.tsx
  2. 1 1
      web/app/components/share/chat/index.tsx

+ 1 - 0
web/app/components/explore/universal-chat/index.tsx

@@ -688,6 +688,7 @@ const Main: FC<IMainProps> = () => {
         onUnpin={handleUnpin}
         controlUpdateList={controlUpdateConversationList}
         onDelete={handleDelete}
+        onStartChat={() => handleConversationIdChange('-1')}
       />
     )
   }

+ 1 - 1
web/app/components/share/chat/index.tsx

@@ -668,7 +668,7 @@ const Main: FC<IMainProps> = ({
         onUnpin={handleUnpin}
         controlUpdateList={controlUpdateConversationList}
         onDelete={handleDelete}
-        onStartChat={handleStartChat}
+        onStartChat={() => handleConversationIdChange('-1')}
       />
     )
   }