mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
parent
94c6793e92
commit
2b5d61ad36
4 changed files with 12 additions and 2 deletions
|
@ -37,6 +37,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
|
|||
namespace tgcalls {
|
||||
class InstanceImpl;
|
||||
class InstanceV2Impl;
|
||||
class InstanceV2_4_0_0Impl;
|
||||
class InstanceImplLegacy;
|
||||
void SetLegacyGlobalServerConfig(const std::string &serverConfig);
|
||||
} // namespace tgcalls
|
||||
|
@ -52,6 +53,7 @@ const auto kDefaultVersion = "2.4.4"_q;
|
|||
|
||||
const auto Register = tgcalls::Register<tgcalls::InstanceImpl>();
|
||||
const auto RegisterV2 = tgcalls::Register<tgcalls::InstanceV2Impl>();
|
||||
const auto RegisterV240 = tgcalls::Register<tgcalls::InstanceV2_4_0_0Impl>();
|
||||
const auto RegisterLegacy = tgcalls::Register<tgcalls::InstanceImplLegacy>();
|
||||
|
||||
void AppendEndpoint(
|
||||
|
|
|
@ -4440,7 +4440,7 @@ void HistoryWidget::updateSendButtonType() {
|
|||
}
|
||||
|
||||
bool HistoryWidget::updateCmdStartShown() {
|
||||
const auto bot = (_peer && _peer->asUser()->isBot())
|
||||
const auto bot = (_peer && _peer->isUser() && _peer->asUser()->isBot())
|
||||
? _peer->asUser()
|
||||
: nullptr;
|
||||
bool cmdStartShown = false;
|
||||
|
|
2
Telegram/ThirdParty/tgcalls
vendored
2
Telegram/ThirdParty/tgcalls
vendored
|
@ -1 +1 @@
|
|||
Subproject commit 6e6f09259d62eb3d1a64ca8ca93b4cbc9bdc53c7
|
||||
Subproject commit 365f19aa577b480e424651a67f90f12d56379e11
|
|
@ -55,6 +55,10 @@ PRIVATE
|
|||
VideoCaptureInterfaceImpl.h
|
||||
VideoCapturerInterface.h
|
||||
|
||||
v2/ContentNegotiation.cpp
|
||||
v2/ContentNegotiation.h
|
||||
v2/InstanceV2ReferenceImpl.cpp
|
||||
v2/InstanceV2ReferenceImpl.h
|
||||
v2/InstanceV2Impl.cpp
|
||||
v2/InstanceV2Impl.h
|
||||
v2/NativeNetworkingImpl.cpp
|
||||
|
@ -63,6 +67,10 @@ PRIVATE
|
|||
v2/Signaling.h
|
||||
v2/SignalingEncryption.cpp
|
||||
v2/SignalingEncryption.h
|
||||
v2_4_0_0/InstanceV2_4_0_0Impl.cpp
|
||||
v2_4_0_0/InstanceV2_4_0_0Impl.h
|
||||
v2_4_0_0/Signaling_4_0_0.cpp
|
||||
v2_4_0_0/Signaling_4_0_0.h
|
||||
|
||||
# Desktop capturer
|
||||
desktop_capturer/DesktopCaptureSource.h
|
||||
|
|
Loading…
Add table
Reference in a new issue