aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules
diff options
context:
space:
mode:
authorTom Grimshaw2010-06-20 14:45:36 -0700
committerTom Grimshaw2010-06-20 14:45:36 -0700
commit33d05ef554c4cbbdfa8c744a0ac2c23a0683ad08 (patch)
treefb2c737c93f61f686ee5eaef0b10eb615e1f7a6f /OpenSim/Region/CoreModules
parentUpdate all clients sitting on a linkset if a child prim is moved. This preven... (diff)
parentModify avatar responsiveness policy to send roots before children (diff)
downloadopensim-SC-33d05ef554c4cbbdfa8c744a0ac2c23a0683ad08.zip
opensim-SC-33d05ef554c4cbbdfa8c744a0ac2c23a0683ad08.tar.gz
opensim-SC-33d05ef554c4cbbdfa8c744a0ac2c23a0683ad08.tar.bz2
opensim-SC-33d05ef554c4cbbdfa8c744a0ac2c23a0683ad08.tar.xz
Merge branch 'careminster-presence-refactor' of ssh://3dhosting.de/var/git/careminster into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Region/CoreModules')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs5
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Inventory/Transfer/InventoryTransferModule.cs2
2 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
index 4c01985..c6f8b88 100644
--- a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
@@ -504,7 +504,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
504 UUID principalID = new UUID(im.fromAgentID); 504 UUID principalID = new UUID(im.fromAgentID);
505 UUID friendID = new UUID(im.toAgentID); 505 UUID friendID = new UUID(im.toAgentID);
506 506
507 m_log.DebugFormat("[FRIENDS]: {0} offered friendship to {1}", principalID, friendID); 507 m_log.DebugFormat("[FRIENDS]: {0} ({1}) offered friendship to {2}", principalID, im.fromAgentName, friendID);
508 508
509 // This user wants to be friends with the other user. 509 // This user wants to be friends with the other user.
510 // Let's add the relation backwards, in case the other is not online 510 // Let's add the relation backwards, in case the other is not online
@@ -522,6 +522,9 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
522 im.imSessionID = im.fromAgentID; 522 im.imSessionID = im.fromAgentID;
523 523
524 // Try the local sim 524 // Try the local sim
525 UserAccount account = UserAccountService.GetUserAccount(Scene.RegionInfo.ScopeID, agentID);
526 im.fromAgentName = (account == null) ? "Unknown" : account.FirstName + " " + account.LastName;
527
525 if (LocalFriendshipOffered(friendID, im)) 528 if (LocalFriendshipOffered(friendID, im))
526 return; 529 return;
527 530
diff --git a/OpenSim/Region/CoreModules/Avatar/Inventory/Transfer/InventoryTransferModule.cs b/OpenSim/Region/CoreModules/Avatar/Inventory/Transfer/InventoryTransferModule.cs
index 2f1e9dd..0d04491 100644
--- a/OpenSim/Region/CoreModules/Avatar/Inventory/Transfer/InventoryTransferModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Inventory/Transfer/InventoryTransferModule.cs
@@ -241,6 +241,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Inventory.Transfer
241 im.imSessionID = itemID.Guid; 241 im.imSessionID = itemID.Guid;
242 } 242 }
243 243
244 im.offline = 1; // Remember these
245
244 // Send the IM to the recipient. The item is already 246 // Send the IM to the recipient. The item is already
245 // in their inventory, so it will not be lost if 247 // in their inventory, so it will not be lost if
246 // they are offline. 248 // they are offline.