aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar/Friends
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Friends')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
index 34f14df..8f1b5d7 100644
--- a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
@@ -391,7 +391,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
391 391
392 private void ForwardFriendshipOffer(UUID agentID, UUID friendID, GridInstantMessage im) 392 private void ForwardFriendshipOffer(UUID agentID, UUID friendID, GridInstantMessage im)
393 { 393 {
394 // !!!!!!!! 394 // !!!!!!!! This is a hack so that we don't have to keep state (transactionID/imSessionID)
395 // We stick this agent's ID as imSession, so that it's directly available on the receiving end
395 im.imSessionID = im.fromAgentID; 396 im.imSessionID = im.fromAgentID;
396 397
397 IClientAPI friendClient = LocateClientObject(friendID); 398 IClientAPI friendClient = LocateClientObject(friendID);
@@ -450,6 +451,8 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
450 451
451 private void OnDenyFriendRequest(IClientAPI client, UUID agentID, UUID friendID, List<UUID> callingCardFolders) 452 private void OnDenyFriendRequest(IClientAPI client, UUID agentID, UUID friendID, List<UUID> callingCardFolders)
452 { 453 {
454 m_log.DebugFormat("[FRIENDS]: {0} denied friendship to {1}", agentID, friendID);
455
453 FriendsService.Delete(agentID, friendID.ToString()); 456 FriendsService.Delete(agentID, friendID.ToString());
454 FriendsService.Delete(friendID, agentID.ToString()); 457 FriendsService.Delete(friendID, agentID.ToString());
455 458