Feature request: Show profile on Teleport Offer notifications

This commit is contained in:
Inusaito Sayori
2013-08-14 22:02:15 -04:00
parent b00e39f211
commit 0b9f14fff7
2 changed files with 9 additions and 0 deletions

View File

@@ -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

View File

@@ -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>