-
Richard Mansfield authored
Adding users who automatically accept friends failed when the page from which the form was submitted was out of date. This change fixes the case where a user adds a friend who has changed their friendscontrol setting since the page was loaded. If they have turned friendscontrol back to 'auth', the submission will fail with an error; if they have in the meantime added a friend request to the user who's submitting the form, it will succeed, and if a user with an open friend request somehow submits the 'addfriend' form, the friend request will be removed. Change-Id: I3ab5c1cf4dd263126abb7d2a34490d18b69b4439 Signed-off-by: Richard Mansfield <richard.mansfield@catalyst.net.nz>
6efd41bc