Send / receive messages in group calls.

This commit is contained in:
John Preston
2025-09-15 17:10:27 +04:00
parent 5ed8f0baa5
commit e2ae0a7a4f
14 changed files with 432 additions and 37 deletions
-7
View File
@@ -22,13 +22,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "main/main_session.h"
namespace Api {
namespace {
[[nodiscard]] TimeId UnixtimeFromMsgId(mtpMsgId msgId) {
return TimeId(msgId >> 32);
}
} // namespace
Polls::Polls(not_null<ApiWrap*> api)
: _session(&api->session())
@@ -25,10 +25,6 @@ namespace {
constexpr auto kSendTogglesDelay = 3 * crl::time(1000);
[[nodiscard]] TimeId UnixtimeFromMsgId(mtpMsgId msgId) {
return TimeId(msgId >> 32);
}
} // namespace
TodoLists::TodoLists(not_null<ApiWrap*> api)
+3 -1
View File
@@ -2128,7 +2128,9 @@ void Updates::feedUpdate(const MTPUpdate &update) {
case mtpc_updateGroupCallParticipants:
case mtpc_updateGroupCallChainBlocks:
case mtpc_updateGroupCallConnection:
case mtpc_updateGroupCall: {
case mtpc_updateGroupCall:
case mtpc_updateGroupCallMessage:
case mtpc_updateGroupCallEncryptedMessage: {
Core::App().calls().handleUpdate(&session(), update);
} break;