From e5ff7f389bcaa17634d8d93d1ffdcca36339dfeb Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Mon, 14 Nov 2011 20:31:16 +0000 Subject: Improved method doc for AddFriend() - it actually does set up a two-way relationship. Rename IFriendsModule.AddFriend() to AddFriendship() --- OpenSim/Region/Framework/Interfaces/IFriendsModule.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'OpenSim/Region/Framework/Interfaces') diff --git a/OpenSim/Region/Framework/Interfaces/IFriendsModule.cs b/OpenSim/Region/Framework/Interfaces/IFriendsModule.cs index 8143164..fdede34 100644 --- a/OpenSim/Region/Framework/Interfaces/IFriendsModule.cs +++ b/OpenSim/Region/Framework/Interfaces/IFriendsModule.cs @@ -34,18 +34,15 @@ namespace OpenSim.Region.Framework.Interfaces public interface IFriendsModule { /// - /// Add a friend for the given user. + /// Add a friendship between two users. /// /// - /// This is a one-way friendship. To make a two way friendship you will need to call this again with the - /// client and friend reversed. - /// /// Ultimately, it would be more useful to take in a user account here rather than having to have a user /// present in the scene. /// /// /// - void AddFriend(IClientAPI client, UUID friendID); + void AddFriendship(IClientAPI client, UUID friendID); uint GetFriendPerms(UUID PrincipalID, UUID FriendID); bool SendFriendsOnlineIfNeeded(IClientAPI client); -- cgit v1.1