summaryrefslogtreecommitdiff
path: root/indra/newview/llimview.h
diff options
context:
space:
mode:
authorRichard Linden <none@none>2012-01-23 17:50:15 -0800
committerRichard Linden <none@none>2012-01-23 17:50:15 -0800
commitff5fe4ffc06fa9220043d82a2d7d7dbc0b7ffd77 (patch)
treef6b31777ceb1a66c81aa7322687a9068fbd6a3b9 /indra/newview/llimview.h
parentea6cbc7b6b1de051a9bb1c311c4399a2b4d42cb3 (diff)
parente09661f6ec467ea98715a2a04db40fc4e6b7ce02 (diff)
Automated merge with ssh://hg.lindenlab.com/richard/viewer-experience-merge
Diffstat (limited to 'indra/newview/llimview.h')
-rw-r--r--indra/newview/llimview.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/indra/newview/llimview.h b/indra/newview/llimview.h
index b1be26a169..f07a78e2f7 100644
--- a/indra/newview/llimview.h
+++ b/indra/newview/llimview.h
@@ -438,6 +438,10 @@ public:
bool isVoiceCall(const LLUUID& session_id);
+ void addNotifiedNonFriendSessionID(const LLUUID& session_id);
+
+ bool isNonFriendSessionNotified(const LLUUID& session_id);
+
private:
/**
@@ -465,6 +469,14 @@ private:
typedef std::list <LLIMSessionObserver *> session_observers_list_t;
session_observers_list_t mSessionObservers;
+ // EXP-901
+ // If "Only friends and groups can IM me" option is ON but the user got message from non-friend,
+ // the user should be notified that to be able to see this message the option should be OFF.
+ // This set stores session IDs in which user was notified. Need to store this IDs so that the user
+ // be notified only one time per session with non-friend.
+ typedef std::set<LLUUID> notified_non_friend_sessions_t;
+ notified_non_friend_sessions_t mNotifiedNonFriendSessions;
+
LLSD mPendingInvitations;
LLSD mPendingAgentListUpdates;
};