2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-30 22:25:12 +00:00

Add Calls::Instance. Add libtgvoip as a dependency.

Also move all submodules to Telegram/ThirdParty.
This commit is contained in:
John Preston
2017-04-19 12:44:07 +03:00
parent d78523e905
commit d18164bc51
20 changed files with 399 additions and 73 deletions

View File

@@ -67,6 +67,7 @@ Copyright (c) 2014-2017 John Preston, https://desktop.telegram.org
#include "auth_session.h"
#include "window/notifications_manager.h"
#include "window/window_controller.h"
#include "calls/calls_instance.h"
StackItemSection::StackItemSection(std::unique_ptr<Window::SectionMemento> &&memento) : StackItem(nullptr)
, _memento(std::move(memento)) {
@@ -4854,7 +4855,7 @@ void MainWidget::feedUpdate(const MTPUpdate &update) {
} break;
case mtpc_updatePhoneCall: {
auto &d = update.c_updatePhoneCall();
Calls::Current().handleUpdate(update.c_updatePhoneCall());
} break;
case mtpc_updateUserBlocked: {