diff --git a/src/people/hiveChat/index.tsx b/src/people/hiveChat/index.tsx index 155460a4..d6f30e9a 100644 --- a/src/people/hiveChat/index.tsx +++ b/src/people/hiveChat/index.tsx @@ -179,6 +179,10 @@ export const HiveChatView: React.FC = observer(() => { const refreshChatHistory = useCallback(async () => { try { await chat.loadChatHistory(chatId); + const selectedChat = chat.getChat(chatId); + if (selectedChat?.title) { + setTitle(selectedChat.title); + } if (chatHistoryRef.current) { chatHistoryRef.current.scrollTop = chatHistoryRef.current.scrollHeight; }