Skip to content
Snippets Groups Projects
Commit 1d5df49d authored by Mike Antipov's avatar Mike Antipov
Browse files

Fixed normal bug EXT-5119 (Voice Control Panel should open only after call is...

Fixed normal bug EXT-5119 (Voice Control Panel should open only after call is connected, so it's not overlapped by voice notifications.)
- updated condition when VCP should be shown to check voice channel state (CONNECTED)

--HG--
branch : product-engine
parent 41f350ce
No related branches found
No related tags found
No related merge requests found
...@@ -303,8 +303,8 @@ void LLCallFloater::updateSession() ...@@ -303,8 +303,8 @@ void LLCallFloater::updateSession()
refreshParticipantList(); refreshParticipantList();
updateAgentModeratorState(); updateAgentModeratorState();
//show floater for voice calls //show floater for voice calls & only in CONNECTED to voice channel state
if (!is_local_chat) if (!is_local_chat && LLVoiceChannel::STATE_CONNECTED == voice_channel->getState())
{ {
LLIMFloater* im_floater = LLIMFloater::findInstance(session_id); LLIMFloater* im_floater = LLIMFloater::findInstance(session_id);
bool show_me = !(im_floater && im_floater->getVisible()); bool show_me = !(im_floater && im_floater->getVisible());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment