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:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user