mirror of
https://github.com/kcozens/OpenSimProfile.git
synced 2026-08-14 00:57:50 +00:00
Show online in profile if target is in same region
This commit is contained in:
@@ -774,7 +774,7 @@ namespace OpenSimProfile.Modules.OpenProfile
|
||||
((INPC)(p.ControllingClient)).profileAbout,
|
||||
((INPC)(p.ControllingClient)).Born,
|
||||
Utils.StringToBytes("Non Player Character"),
|
||||
"NPCs have no life.", 16, UUID.Zero,
|
||||
"NPCs have no life.", 0x10, UUID.Zero,
|
||||
((INPC)(p.ControllingClient)).profileImage,
|
||||
String.Empty, UUID.Zero);
|
||||
remoteClient.SendAvatarInterestsReply(avatarID, 0, String.Empty,
|
||||
@@ -871,6 +871,10 @@ namespace OpenSimProfile.Modules.OpenProfile
|
||||
if (profileData["Partner"] != null)
|
||||
partner = new UUID(profileData["Partner"].ToString());
|
||||
|
||||
// If on same region force online
|
||||
if (p != null && !p.IsDeleted)
|
||||
flags |= 0x10;
|
||||
|
||||
// The PROFILE information is no longer stored in the user
|
||||
// account. It now needs to be taken from the XMLRPC
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user