Flags on Store(Friend) are supposed to be MyFlags.

slimupdates
Diva Canto 2010-02-26 09:01:59 -08:00
parent cc05bdf6ab
commit 2af7577fab
2 changed files with 2 additions and 2 deletions

View File

@ -138,7 +138,7 @@ namespace OpenSim.Server.Handlers.Friends
{
FriendInfo friend = new FriendInfo(request);
bool success = m_FriendsService.StoreFriend(friend.PrincipalID, friend.Friend, friend.TheirFlags);
bool success = m_FriendsService.StoreFriend(friend.PrincipalID, friend.Friend, friend.MyFlags);
if (success)
return SuccessResult();

View File

@ -150,7 +150,7 @@ namespace OpenSim.Services.Connectors
FriendInfo finfo = new FriendInfo();
finfo.PrincipalID = PrincipalID;
finfo.Friend = Friend;
finfo.TheirFlags = flags;
finfo.MyFlags = flags;
Dictionary<string, object> sendData = finfo.ToKeyValuePairs();