Flags on Store(Friend) are supposed to be MyFlags.
parent
cc05bdf6ab
commit
2af7577fab
|
@ -138,7 +138,7 @@ namespace OpenSim.Server.Handlers.Friends
|
||||||
{
|
{
|
||||||
FriendInfo friend = new FriendInfo(request);
|
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)
|
if (success)
|
||||||
return SuccessResult();
|
return SuccessResult();
|
||||||
|
|
|
@ -150,7 +150,7 @@ namespace OpenSim.Services.Connectors
|
||||||
FriendInfo finfo = new FriendInfo();
|
FriendInfo finfo = new FriendInfo();
|
||||||
finfo.PrincipalID = PrincipalID;
|
finfo.PrincipalID = PrincipalID;
|
||||||
finfo.Friend = Friend;
|
finfo.Friend = Friend;
|
||||||
finfo.TheirFlags = flags;
|
finfo.MyFlags = flags;
|
||||||
|
|
||||||
Dictionary<string, object> sendData = finfo.ToKeyValuePairs();
|
Dictionary<string, object> sendData = finfo.ToKeyValuePairs();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue