Commit 381d661a authored by Mohamed Chibani's avatar Mohamed Chibani Committed by Sébastien Blin

rendez-vous: do not play the ringtone

The ringtone on incoming calls must not be played
if the RendezVous mode is enabled.

Gitlab: #281
Change-Id: I311900eeb85f279c65d63aceceecd2185c22efb5
parent 6e1f4e15
......@@ -1857,7 +1857,8 @@ Manager::incomingCall(Call& call, const std::string& accountId)
if (not hasCurrentCall()) {
call.setState(Call::ConnectionState::RINGING);
#ifndef RING_UWP
playRingtone(accountId);
if (not call.getAccount().isRendezVous())
playRingtone(accountId);
#endif
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment