Опросы
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user