MS IZ saving the person in accept of FR

This commit is contained in:
maxwell 2010-08-09 10:50:49 -07:00
parent 544f7f08e5
commit 67843a21e2

View file

@ -44,6 +44,7 @@ class User
request = Request.where(:id => friend_request_id).first
pending_friends.delete(request.person)
friends << request.person
save
request.person = self
request.exported_key = self.export_key