mirror of
https://github.com/opensim/opensim.git
synced 2026-08-07 09:45:47 +08:00
Allow cross-scope friendships to work, and also allow other cross scope name
resolution
This commit is contained in:
@@ -489,7 +489,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
|
||||
im.imSessionID = im.fromAgentID;
|
||||
|
||||
// Try the local sim
|
||||
UserAccount account = UserAccountService.GetUserAccount(Scene.RegionInfo.ScopeID, agentID);
|
||||
UserAccount account = UserAccountService.GetUserAccount(UUID.Zero, agentID);
|
||||
im.fromAgentName = (account == null) ? "Unknown" : account.FirstName + " " + account.LastName;
|
||||
|
||||
if (LocalFriendshipOffered(friendID, im))
|
||||
|
||||
Reference in New Issue
Block a user