summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLynx Linden <lynx@lindenlab.com>2009-11-11 15:45:24 +0000
committerLynx Linden <lynx@lindenlab.com>2009-11-11 15:45:24 +0000
commit23a4637216403d04822efd9125875e5b06b4ccca (patch)
tree0de8e8ae22e3345bc229d876e7b87fba1a2681b9
parentd5f3e6b2a82fa166179943fab435f69059f6686b (diff)
DEV-41324 DEV-41317: Fixes for P2P chat when already chatting.
-rw-r--r--indra/newview/llavataractions.cpp2
-rw-r--r--indra/newview/llpanelpeople.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llavataractions.cpp b/indra/newview/llavataractions.cpp
index 4456e0aa74..47237e53cc 100644
--- a/indra/newview/llavataractions.cpp
+++ b/indra/newview/llavataractions.cpp
@@ -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;
}
diff --git a/indra/newview/llpanelpeople.cpp b/indra/newview/llpanelpeople.cpp
index 9ba94c8ca9..2bbb2b7153 100644
--- a/indra/newview/llpanelpeople.cpp
+++ b/indra/newview/llpanelpeople.cpp
@@ -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)
{