mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
Flags on Store(Friend) are supposed to be MyFlags.
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user