aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
index 74f32e7..8e5de7d 100644
--- a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs
@@ -357,7 +357,6 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
357 im.offline = 0; 357 im.offline = 0;
358 im.fromAgentID = fromAgentID.Guid; 358 im.fromAgentID = fromAgentID.Guid;
359 im.fromAgentName = firstname + " " + lastname; 359 im.fromAgentName = firstname + " " + lastname;
360 im.offline = (byte)((presence == null) ? 1 : 0);
361 im.imSessionID = im.fromAgentID; 360 im.imSessionID = im.fromAgentID;
362 im.message = FriendshipMessage(fid); 361 im.message = FriendshipMessage(fid);
363 362
@@ -583,7 +582,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
583 ICallingCardModule ccm = client.Scene.RequestModuleInterface<ICallingCardModule>(); 582 ICallingCardModule ccm = client.Scene.RequestModuleInterface<ICallingCardModule>();
584 if (ccm != null) 583 if (ccm != null)
585 { 584 {
586 ccm.CreateCallingCard(agentID, friendID, UUID.Zero); 585 ccm.CreateCallingCard(client.AgentId, friendID, UUID.Zero);
587 } 586 }
588 587
589 // Update the local cache 588 // Update the local cache