diff options
author | Melanie | 2011-11-02 23:50:47 +0000 |
---|---|---|
committer | Melanie | 2011-11-02 23:50:47 +0000 |
commit | 08fcf958c278c703a790fd964a5af74425bcf67d (patch) | |
tree | ba6362d105b4416033b2a807b8ef362e393f9ae2 /OpenSim/Region/CoreModules/Avatar/Friends | |
parent | Restore the recursive calling of PRIM_LINK_TARGET because the version I made (diff) | |
download | opensim-SC-08fcf958c278c703a790fd964a5af74425bcf67d.zip opensim-SC-08fcf958c278c703a790fd964a5af74425bcf67d.tar.gz opensim-SC-08fcf958c278c703a790fd964a5af74425bcf67d.tar.bz2 opensim-SC-08fcf958c278c703a790fd964a5af74425bcf67d.tar.xz |
Port the Avination offline messaging system to Core
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar/Friends')
-rw-r--r-- | OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs index 1da9aab..c952ebf 100644 --- a/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs +++ b/OpenSim/Region/CoreModules/Avatar/Friends/FriendsModule.cs | |||
@@ -356,12 +356,10 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends | |||
356 | PresenceInfo[] presences = PresenceService.GetAgents(new string[] { fid }); | 356 | PresenceInfo[] presences = PresenceService.GetAgents(new string[] { fid }); |
357 | if (presences != null && presences.Length > 0) | 357 | if (presences != null && presences.Length > 0) |
358 | presence = presences[0]; | 358 | presence = presences[0]; |
359 | if (presence != null) | 359 | im.offline = 0; |
360 | im.offline = 0; | ||
361 | 360 | ||
362 | im.fromAgentID = fromAgentID.Guid; | 361 | im.fromAgentID = fromAgentID.Guid; |
363 | im.fromAgentName = firstname + " " + lastname; | 362 | im.fromAgentName = firstname + " " + lastname; |
364 | im.offline = (byte)((presence == null) ? 1 : 0); | ||
365 | im.imSessionID = im.fromAgentID; | 363 | im.imSessionID = im.fromAgentID; |
366 | im.message = FriendshipMessage(fid); | 364 | im.message = FriendshipMessage(fid); |
367 | 365 | ||