Work around crash signature 8715

Apparently SL Grid gives some odd session types for P2P?
This should be looked into closer, but for now just accept that it happens.
This commit is contained in:
Inusaito Sayori
2015-02-04 01:07:56 -05:00
parent 10ef3ff683
commit adecaca730

View File

@@ -336,6 +336,9 @@ LLFloaterIMPanel::LLFloaterIMPanel(
mFactoryMap["active_speakers_panel"] = LLCallbackMap(createSpeakersPanel, this);
mVoiceChannel = new LLVoiceChannelGroup(mSessionUUID, mLogLabel);
break;
default:
llwarns << "Unknown session type: " << mDialog << llendl;
// fallthrough, Singu TODO: Find out which cases this happens in, seems to only be P2P, though.
// just received text from another user
case IM_NOTHING_SPECIAL:
mTextIMPossible = LLVoiceClient::getInstance()->isSessionTextIMPossible(mSessionUUID);
@@ -347,9 +350,6 @@ LLFloaterIMPanel::LLFloaterIMPanel(
LLMuteList::instance().addObserver(this);
mDing = gSavedSettings.getBOOL("LiruNewMessageSoundIMsOn");
break;
default:
llwarns << "Unknown session type" << llendl;
break;
}
mSpeakers = new LLIMSpeakerMgr(mVoiceChannel);