diff options
author | Diva Canto | 2010-02-26 09:01:59 -0800 |
---|---|---|
committer | Diva Canto | 2010-02-26 09:01:59 -0800 |
commit | 2af7577fab4707f26f4e8c680a263e25b7e415e9 (patch) | |
tree | f3536b5d3096a92aa3a9f9568a7f4de18e9cbb1a /OpenSim | |
parent | * Friends out connector completed. Grid login retrieves friends correctly. (diff) | |
download | opensim-SC_OLD-2af7577fab4707f26f4e8c680a263e25b7e415e9.zip opensim-SC_OLD-2af7577fab4707f26f4e8c680a263e25b7e415e9.tar.gz opensim-SC_OLD-2af7577fab4707f26f4e8c680a263e25b7e415e9.tar.bz2 opensim-SC_OLD-2af7577fab4707f26f4e8c680a263e25b7e415e9.tar.xz |
Flags on Store(Friend) are supposed to be MyFlags.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Server/Handlers/Friends/FriendsServerPostHandler.cs | 2 | ||||
-rw-r--r-- | OpenSim/Services/Connectors/Friends/FriendsServiceConnector.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Server/Handlers/Friends/FriendsServerPostHandler.cs b/OpenSim/Server/Handlers/Friends/FriendsServerPostHandler.cs index fa655d2..b168bb3 100644 --- a/OpenSim/Server/Handlers/Friends/FriendsServerPostHandler.cs +++ b/OpenSim/Server/Handlers/Friends/FriendsServerPostHandler.cs | |||
@@ -138,7 +138,7 @@ namespace OpenSim.Server.Handlers.Friends | |||
138 | { | 138 | { |
139 | FriendInfo friend = new FriendInfo(request); | 139 | FriendInfo friend = new FriendInfo(request); |
140 | 140 | ||
141 | bool success = m_FriendsService.StoreFriend(friend.PrincipalID, friend.Friend, friend.TheirFlags); | 141 | bool success = m_FriendsService.StoreFriend(friend.PrincipalID, friend.Friend, friend.MyFlags); |
142 | 142 | ||
143 | if (success) | 143 | if (success) |
144 | return SuccessResult(); | 144 | return SuccessResult(); |
diff --git a/OpenSim/Services/Connectors/Friends/FriendsServiceConnector.cs b/OpenSim/Services/Connectors/Friends/FriendsServiceConnector.cs index b617138..baefebd 100644 --- a/OpenSim/Services/Connectors/Friends/FriendsServiceConnector.cs +++ b/OpenSim/Services/Connectors/Friends/FriendsServiceConnector.cs | |||
@@ -150,7 +150,7 @@ namespace OpenSim.Services.Connectors | |||
150 | FriendInfo finfo = new FriendInfo(); | 150 | FriendInfo finfo = new FriendInfo(); |
151 | finfo.PrincipalID = PrincipalID; | 151 | finfo.PrincipalID = PrincipalID; |
152 | finfo.Friend = Friend; | 152 | finfo.Friend = Friend; |
153 | finfo.TheirFlags = flags; | 153 | finfo.MyFlags = flags; |
154 | 154 | ||
155 | Dictionary<string, object> sendData = finfo.ToKeyValuePairs(); | 155 | Dictionary<string, object> sendData = finfo.ToKeyValuePairs(); |
156 | 156 | ||