IZ MS one last receive url...i think...
This commit is contained in:
parent
89c54d1a63
commit
8a3eb9f6cf
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ class User
|
|||
def receive_friend_request(friend_request)
|
||||
Rails.logger.debug("receiving friend request #{friend_request.to_json}")
|
||||
|
||||
if Request.where(:callback_url => person.url, :destination_url => person.url).first
|
||||
if Request.where(:callback_url => person.receive_url, :destination_url => person.receive_url).first
|
||||
activate_friend friend_request.person
|
||||
Rails.logger.debug("#{self.real_name}'s friend request has been accepted")
|
||||
friend_request.destroy
|
||||
|
|
|
|||
Loading…
Reference in a new issue