Fixed major bug EXT-3539 (IM well floater doesn't appear after IM well button has been pressed)

- Fixed wrong condition to chech if item for passed session already exists in the list

--HG--
branch : product-engine
master
Mike Antipov 2009-12-17 15:47:21 +02:00
parent 668fcbbd80
commit 68b687b73e
1 changed files with 2 additions and 2 deletions

View File

@ -709,8 +709,8 @@ BOOL LLIMWellWindow::postBuild()
void LLIMWellWindow::sessionAdded(const LLUUID& session_id,
const std::string& name, const LLUUID& other_participant_id)
{
if (!mMessageList->getItemByValue(session_id)) return;
if (mMessageList->getItemByValue(session_id)) return;
// For im sessions started as voice call chiclet gets created on the first incoming message
if (gIMMgr->isVoiceCall(session_id)) return;