mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Beta version 4.15.6: Fix build with GCC.
This commit is contained in:
parent
8708598daa
commit
89c6bb163e
1 changed files with 8 additions and 8 deletions
|
@ -976,16 +976,9 @@ void Call::createAndStartController(const MTPDphoneCall &call) {
|
||||||
handleControllerBarCountChange(count);
|
handleControllerBarCountChange(count);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
.remoteMediaStateUpdated = [=](
|
|
||||||
tgcalls::AudioState audio,
|
|
||||||
tgcalls::VideoState video) {
|
|
||||||
crl::on_main(weak, [=] {
|
|
||||||
updateRemoteMediaState(audio, video);
|
|
||||||
});
|
|
||||||
},
|
|
||||||
.remoteBatteryLevelIsLowUpdated = [=](bool isLow) {
|
.remoteBatteryLevelIsLowUpdated = [=](bool isLow) {
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
isLow = true;
|
// isLow = true;
|
||||||
#endif
|
#endif
|
||||||
crl::on_main(weak, [=] {
|
crl::on_main(weak, [=] {
|
||||||
_remoteBatteryState = isLow
|
_remoteBatteryState = isLow
|
||||||
|
@ -993,6 +986,13 @@ void Call::createAndStartController(const MTPDphoneCall &call) {
|
||||||
: RemoteBatteryState::Normal;
|
: RemoteBatteryState::Normal;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
.remoteMediaStateUpdated = [=](
|
||||||
|
tgcalls::AudioState audio,
|
||||||
|
tgcalls::VideoState video) {
|
||||||
|
crl::on_main(weak, [=] {
|
||||||
|
updateRemoteMediaState(audio, video);
|
||||||
|
});
|
||||||
|
},
|
||||||
.signalingDataEmitted = [=](const std::vector<uint8_t> &data) {
|
.signalingDataEmitted = [=](const std::vector<uint8_t> &data) {
|
||||||
const auto bytes = QByteArray(
|
const auto bytes = QByteArray(
|
||||||
reinterpret_cast<const char*>(data.data()),
|
reinterpret_cast<const char*>(data.data()),
|
||||||
|
|
Loading…
Add table
Reference in a new issue