diff options
| author | Merov Linden <merov@lindenlab.com> | 2011-02-08 22:24:26 -0800 | 
|---|---|---|
| committer | Merov Linden <merov@lindenlab.com> | 2011-02-08 22:24:26 -0800 | 
| commit | 1c47a23d6bee1728c5d1048be5ebfea4bb8344f3 (patch) | |
| tree | b6b740aeb61590602305e9cdf46520c7f1bee99f /indra | |
| parent | 47642e96f9d0e1799a52930d1b4102d91bc57636 (diff) | |
| parent | 1a1d5f4c00ce2f45ce0952b0cd093103e989c477 (diff) | |
STORM-507 : pull into viewer-development
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/newview/llimview.cpp | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/indra/newview/llimview.cpp b/indra/newview/llimview.cpp index 9623554200..0ef502b81b 100644 --- a/indra/newview/llimview.cpp +++ b/indra/newview/llimview.cpp @@ -2719,6 +2719,15 @@ void LLIMMgr::inviteToSession(  		{  			LLFloaterReg::showInstance("incoming_call", payload, FALSE);  		} +		 +		// Add the caller to the Recent List here (at this point  +		// "incoming_call" floater is shown and the recipient can +		// reject the call), because even if a recipient will reject +		// the call, the caller should be added to the recent list +		// anyway. STORM-507. +		if(type == IM_SESSION_P2P_INVITE) +			LLRecentPeople::instance().add(caller_id); +		  		mPendingInvitations[session_id.asString()] = LLSD();  	}  } | 
