diff options
author | Merov Linden <merov@lindenlab.com> | 2012-09-21 18:12:06 -0700 |
---|---|---|
committer | Merov Linden <merov@lindenlab.com> | 2012-09-21 18:12:06 -0700 |
commit | b5583906d0cce652f456851732db5b1c19659662 (patch) | |
tree | 3010a34c70a5ed88900b21738207f3a2f756d668 /indra/newview/llimconversation.cpp | |
parent | fc6bbee3f4ba1abba2956ee92f7ac7ba01d0f59b (diff) |
CHUI-340 : WIP : Fix sorting bugs on time for sessions, simplified the update time mechanism and clean up
Diffstat (limited to 'indra/newview/llimconversation.cpp')
-rw-r--r-- | indra/newview/llimconversation.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llimconversation.cpp b/indra/newview/llimconversation.cpp index a2efe63546..5425baec6d 100644 --- a/indra/newview/llimconversation.cpp +++ b/indra/newview/llimconversation.cpp @@ -250,6 +250,14 @@ std::string LLIMConversation::appendTime() void LLIMConversation::appendMessage(const LLChat& chat, const LLSD &args) { + // Update the participant activity time + LLIMFloaterContainer* im_box = LLIMFloaterContainer::findInstance(); + if (im_box) + { + im_box->setTimeNow(mSessionID,chat.mFromID); + } + + LLChat& tmp_chat = const_cast<LLChat&>(chat); if(tmp_chat.mTimeStr.empty()) |