converted workaround to a fix for normal bug EXT-1918 (Region Messages crash the sender and anyone set busy).

--HG--
branch : product-engine
meow-7.2.2
Igor Borovkov 2009-10-29 16:33:10 +02:00
parent 8c9819f946
commit 3a87aa6164
1 changed files with 1 additions and 6 deletions

View File

@ -1360,14 +1360,9 @@ void LLIMMgr::addMessage(
fixed_session_name = session_name;
}
bool new_session = !hasSession(session_id);
bool new_session = !hasSession(new_session_id);
if (new_session)
{
// *NOTE dzaporozhan
// Workaround for critical bug EXT-1918
// *TODO
// Investigate cases when session_id == NULL and find solution to handle those cases
LLIMModel::getInstance()->newSession(new_session_id, fixed_session_name, dialog, other_participant_id);
}