summaryrefslogtreecommitdiff
path: root/indra/newview/llvoicechannel.cpp
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2009-11-11 18:06:44 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2009-11-11 18:06:44 +0000
commitcc864d86ce91cd26edc3796acbd9580de4fafbc8 (patch)
tree1da263cbc194207836ee78c85963c220f2141b1e /indra/newview/llvoicechannel.cpp
parenta0dd5b825be7ec31ab69894c3e4fc81ba6aacdd4 (diff)
outgoing call dialog. doesn't do anything and is ugly/wrong, but it exists. WIP.
Diffstat (limited to 'indra/newview/llvoicechannel.cpp')
-rw-r--r--indra/newview/llvoicechannel.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/indra/newview/llvoicechannel.cpp b/indra/newview/llvoicechannel.cpp
index 04ae44e08d..b0ea07946c 100644
--- a/indra/newview/llvoicechannel.cpp
+++ b/indra/newview/llvoicechannel.cpp
@@ -385,8 +385,11 @@ void LLVoiceChannel::setState(EState state)
switch(state)
{
case STATE_RINGING:
- LLFloaterReg::showInstance("outgoing_call", payload, TRUE);
llinfos << "RINGINGGGGGGGG " << mSessionName << llendl;
+ if (!mSessionName.empty())
+ {
+ LLFloaterReg::showInstance("outgoing_call", payload, TRUE);
+ }
gIMMgr->addSystemMessage(mSessionID, "ringing", mNotifyArgs);
break;
case STATE_CONNECTED: