Доработки профиля
This commit is contained in:
@@ -123,7 +123,7 @@ export default function ChatView({ onStartCall, onStartGroupCall }: { onStartCal
|
||||
socket.on('group_call_active', handler);
|
||||
// Request current status when opening a group chat
|
||||
if (activeChat && chat?.type === 'group') {
|
||||
socket.emit('group_call_status', { chatId: activeChat });
|
||||
socket.emit('get_group_call_status', { chatId: activeChat });
|
||||
}
|
||||
return () => { socket.off('group_call_active', handler); };
|
||||
}, [activeChat, user?.id, chat?.type]);
|
||||
|
||||
Reference in New Issue
Block a user