Skip to content
Snippets Groups Projects
Commit d88bfe7e authored by ¡Cinder! ㊝'s avatar ¡Cinder! ㊝ :speech_balloon:
Browse files

Buddy online status alerts

parent e0d78594
No related branches found
No related tags found
1 merge request!97Kiss butt
...@@ -663,6 +663,11 @@ void LLAvatarTracker::processChange(LLMessageSystem* msg) ...@@ -663,6 +663,11 @@ void LLAvatarTracker::processChange(LLMessageSystem* msg)
LLNotifications::instance().add(LLRelationship::GRANT_MAP_LOCATION & new_rights LLNotifications::instance().add(LLRelationship::GRANT_MAP_LOCATION & new_rights
? "GrantedMapRights" : "RevokedMapRights", args, payload); ? "GrantedMapRights" : "RevokedMapRights", args, payload);
} }
if (change & LLRelationship::GRANT_ONLINE_STATUS)
{
LLNotifications::instance().add(LLRelationship::GRANT_ONLINE_STATUS & new_rights
? "GrantedOnlineStatus" : "RevokedOnlineStatus", args, payload);
}
} }
buddy_it->second->setRightsFrom(new_rights); buddy_it->second->setRightsFrom(new_rights);
} }
......
...@@ -12599,6 +12599,23 @@ Your privilege to find [NAME]'s map location has been revoked. ...@@ -12599,6 +12599,23 @@ Your privilege to find [NAME]'s map location has been revoked.
[NAME] has given you permission to find their location on the map. [NAME] has given you permission to find their location on the map.
</notification> </notification>
<notification
icon="alertmodal.tga"
name="RevokedOnlineStatus"
persist="true"
log_to_im="true"
type="notify">
Your privilege to see [NAME]&apos;s online status has been revoked. Very sneaky!
</notification>
<notification
icon="alertmodal.tga"
name="GrantedOnlineStatus"
persist="true"
log_to_im="true"
type="notify">
[NAME] has given you permission to see their online status.
</notification>
<notification <notification
icon="alertmodal.tga" icon="alertmodal.tga"
label="Warn on insecure login" label="Warn on insecure login"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment