diff options
author | Alexei Arabadji <aarabadji@productengine.com> | 2010-01-26 18:25:42 +0200 |
---|---|---|
committer | Alexei Arabadji <aarabadji@productengine.com> | 2010-01-26 18:25:42 +0200 |
commit | 43bb3d00ecba66fe3dd9fa5a2d487ffc5633ed5e (patch) | |
tree | a76946ff443c85cb1bba93e009499eff433d86d0 /indra/newview/llnotificationhandlerutil.cpp | |
parent | 9936155fb7db27cbe2915b6646e861a1f05c5846 (diff) |
fixed EXT-4643 “IM toasts don't appear after few teleport offers were sent to that avatar”
corrected checking opened active IM session;
corrected restoring active IM session after logging IM notification;
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview/llnotificationhandlerutil.cpp')
-rw-r--r-- | indra/newview/llnotificationhandlerutil.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/newview/llnotificationhandlerutil.cpp b/indra/newview/llnotificationhandlerutil.cpp index fba5773602..02f948eca9 100644 --- a/indra/newview/llnotificationhandlerutil.cpp +++ b/indra/newview/llnotificationhandlerutil.cpp @@ -123,7 +123,14 @@ void LLHandlerUtil::logToIM(const EInstantMessage& session_type, message); // restore active session id - LLIMModel::instance().setActiveSessionID(active_session_id); + if (active_session_id.isNull()) + { + LLIMModel::instance().resetActiveSessionID(); + } + else + { + LLIMModel::instance().setActiveSessionID(active_session_id); + } } } |