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);
|
gAgent.teleportViaLure(lure_id, godlike);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case 3:
|
||||||
|
// profile
|
||||||
|
LLAvatarActions::showProfile(from_id);
|
||||||
|
LLNotificationsUtil::add(notification["name"], notification["substitutions"], notification["payload"]); //Respawn!
|
||||||
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
default:
|
default:
|
||||||
// decline
|
// decline
|
||||||
|
|||||||
@@ -6783,6 +6783,10 @@ An object named [OBJECTFROMNAME] owned by (an unknown user) has given you a [OBJ
|
|||||||
index="1"
|
index="1"
|
||||||
name="Cancel"
|
name="Cancel"
|
||||||
text="Cancel"/>
|
text="Cancel"/>
|
||||||
|
<button
|
||||||
|
index="3"
|
||||||
|
name="Profile"
|
||||||
|
text="Profile"/>
|
||||||
</form>
|
</form>
|
||||||
</notification>
|
</notification>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user