MS IZ saving the person in accept of FR
This commit is contained in:
parent
544f7f08e5
commit
67843a21e2
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue