Опросы

This commit is contained in:
Халимов Рустам
2026-04-07 11:11:35 +03:00
parent c45f4db61c
commit 852efa090e
25 changed files with 530 additions and 175 deletions
@@ -210,6 +210,10 @@ export default function ChatPage() {
removePinnedMessage(data.chatId, data.messageId);
});
socket.on('poll_updated', (message: Message) => {
updateMessage(message);
});
socket.on('call_incoming', async (data: CallInfo) => {
// Use callerInfo from server if available, otherwise look up from chats
let callerInfo: UserBasic | null = data.callerInfo || null;