cosmetics

This commit is contained in:
UbitUmarov
2022-01-29 18:28:33 +00:00
parent 6d595dbccd
commit fc8c08ec8a
3 changed files with 8 additions and 14 deletions

View File

@@ -176,10 +176,10 @@ namespace OpenSim.Region.CoreModules.Avatar.InstantMessage
bool foreigner = false;
if (UserManagementModule != null) // foreign user
{
url = UserManagementModule.GetUserServerURL(toAgentID, "IMServerURI");
foreigner = !UserManagementModule.IsLocalGridUser(toAgentID);
if(foreigner)
url = UserManagementModule.GetUserServerURL(toAgentID, "IMServerURI");
}
Util.FireAndForget(delegate
{
UUID toDelAgentID = new UUID(im.toAgentID);