Add test implementation of webrtc calls.

This commit is contained in:
John Preston
2020-05-19 10:33:57 +04:00
parent 438a560a79
commit 6d36176a8d
15 changed files with 367 additions and 27 deletions
+3 -2
View File
@@ -1726,8 +1726,9 @@ void Updates::feedUpdate(const MTPUpdate &update) {
auto &d = update.c_updateEncryptedMessagesRead();
} break;
case mtpc_updatePhoneCall: {
Core::App().calls().handleUpdate(&session(), update.c_updatePhoneCall());
case mtpc_updatePhoneCall:
case mtpc_updatePhoneCallSignalingData: {
Core::App().calls().handleUpdate(&session(), update);
} break;
case mtpc_updateUserBlocked: {