At the request of Aleeri in group, add support for EXP-901

Notifies nonfriends when their chat is blocked
This is instead of showing the muted autoresponse message, so only muted people will see it now.

Also cleans up some excess autoresponder code.
This commit is contained in:
Inusaito Sayori
2015-05-20 11:31:28 -04:00
parent 078a6980b9
commit 03f2192684
5 changed files with 37 additions and 18 deletions

View File

@@ -1086,6 +1086,16 @@ LLFloaterIMPanel* LLIMMgr::createFloater(
return floater;
}
void LLIMMgr::addNotifiedNonFriendSessionID(const LLUUID& session_id)
{
mNotifiedNonFriendSessions.insert(session_id);
}
bool LLIMMgr::isNonFriendSessionNotified(const LLUUID& session_id)
{
return mNotifiedNonFriendSessions.end() != mNotifiedNonFriendSessions.find(session_id);
}
void LLIMMgr::noteOfflineUsers(
LLFloaterIMPanel* floater,
const LLDynamicArray<LLUUID>& ids)