Skip to content

Commit

Permalink
Work around crash signature 8715
Browse files Browse the repository at this point in the history
Apparently SL Grid gives some odd session types for P2P?
This should be looked into closer, but for now just accept that it happens.
  • Loading branch information
LiruMouse committed Feb 4, 2015
1 parent 10ef3ff commit adecaca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions indra/newview/llimpanel.cpp
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit adecaca

Please sign in to comment.