DEV-41324 DEV-41317: Fixes for P2P chat when already chatting.
parent
d5f3e6b2a8
commit
23a4637216
|
|
@ -191,7 +191,7 @@ void LLAvatarActions::startIM(const LLUUID& id)
|
|||
// static
|
||||
void LLAvatarActions::startCall(const LLUUID& id)
|
||||
{
|
||||
if (id.isNull() || isCalling(id))
|
||||
if (id.isNull())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1193,7 +1193,7 @@ void LLPanelPeople::onCallButtonClicked()
|
|||
if (selected_uuids.size() == 1)
|
||||
{
|
||||
// initiate a P2P voice chat with the selected user
|
||||
LLAvatarActions::startCall(selected_uuids[0]);
|
||||
LLAvatarActions::startCall(getCurrentItemID());
|
||||
}
|
||||
else if (selected_uuids.size() > 1)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue