diff options
| author | Merov Linden <merov@lindenlab.com> | 2012-09-20 20:48:20 -0700 |
|---|---|---|
| committer | Merov Linden <merov@lindenlab.com> | 2012-09-20 20:48:20 -0700 |
| commit | fc6bbee3f4ba1abba2956ee92f7ac7ba01d0f59b (patch) | |
| tree | 542b22f9dfcf0b24c6af996b2b7015e3a30c5280 /indra/newview/llconversationmodel.cpp | |
| parent | 1107803a5c6da07cd5171f06afc0490f3eca7bf7 (diff) | |
CHUI-340 : WIP : Implement time update on all IM typing cases
Diffstat (limited to 'indra/newview/llconversationmodel.cpp')
| -rw-r--r-- | indra/newview/llconversationmodel.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/newview/llconversationmodel.cpp b/indra/newview/llconversationmodel.cpp index b39b997a55..31f9ca6a32 100644 --- a/indra/newview/llconversationmodel.cpp +++ b/indra/newview/llconversationmodel.cpp @@ -167,6 +167,15 @@ void LLConversationItemSession::setParticipantIsModerator(const LLUUID& particip } } +void LLConversationItemSession::setParticipantTimeNow(const LLUUID& participant_id) +{ + LLConversationItemParticipant* participant = findParticipant(participant_id); + if (participant) + { + participant->setTimeNow(); + } +} + // The time of activity of a session is the time of the most recent participation const bool LLConversationItemSession::getTime(F64& time) const { |
