Feature request: Show profile on Teleport Offer notifications
This commit is contained in:
@@ -1903,6 +1903,11 @@ bool lure_callback(const LLSD& notification, const LLSD& response)
|
||||
gAgent.teleportViaLure(lure_id, godlike);
|
||||
}
|
||||
break;
|
||||
case 3:
|
||||
// profile
|
||||
LLAvatarActions::showProfile(from_id);
|
||||
LLNotificationsUtil::add(notification["name"], notification["substitutions"], notification["payload"]); //Respawn!
|
||||
break;
|
||||
case 1:
|
||||
default:
|
||||
// decline
|
||||
|
||||
@@ -6783,6 +6783,10 @@ An object named [OBJECTFROMNAME] owned by (an unknown user) has given you a [OBJ
|
||||
index="1"
|
||||
name="Cancel"
|
||||
text="Cancel"/>
|
||||
<button
|
||||
index="3"
|
||||
name="Profile"
|
||||
text="Profile"/>
|
||||
</form>
|
||||
</notification>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user