mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 20:05:33 +08:00
In LocalFriendshipTerminated, send the original client's agentId to the friend being removed instead of the friend's own id.
This commit is contained in:
committed by
Justin Clark-Casey (justincc)
parent
25fa647a74
commit
045c26f626
@@ -193,7 +193,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Friends
|
||||
if (!UUID.TryParse(request["ToID"].ToString(), out toID))
|
||||
return FailureResult();
|
||||
|
||||
if (m_FriendsModule.LocalFriendshipTerminated(toID))
|
||||
if (m_FriendsModule.LocalFriendshipTerminated(fromID, toID))
|
||||
return SuccessResult();
|
||||
|
||||
return FailureResult();
|
||||
|
||||
Reference in New Issue
Block a user