2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Hide call controls in one-on-one video.

This commit is contained in:
John Preston
2025-02-11 11:46:42 +04:00
parent b885779365
commit dd2378b591
3 changed files with 145 additions and 11 deletions

View File

@@ -578,8 +578,7 @@ void Instance::handleCallUpdate(
if (inCall()
&& _currentCall->type() == Call::Type::Outgoing
&& _currentCall->user()->id == session->userPeerId()
&& (peerFromUser(phoneCall.vparticipant_id())
== _currentCall->user()->session().userPeerId())) {
&& (user->id == _currentCall->user()->session().userPeerId())) {
// Ignore call from the same running app, other account.
return;
}