Merge branch 'master' of github.com:diaspora/diaspora_rails
This commit is contained in:
commit
b39f7cebd0
1 changed files with 1 additions and 1 deletions
|
|
@ -56,7 +56,7 @@ class User < Person
|
||||||
end
|
end
|
||||||
|
|
||||||
def receive_friend_request(friend_request)
|
def receive_friend_request(friend_request)
|
||||||
logger.info("receiving friend request #{friend_request.to_json}")
|
Rails.logger.info("receiving friend request #{friend_request.to_json}")
|
||||||
GPGME.import(friend_request.exported_key)
|
GPGME.import(friend_request.exported_key)
|
||||||
if Request.where(:callback_url => friend_request.callback_url).first
|
if Request.where(:callback_url => friend_request.callback_url).first
|
||||||
friend_request.activate_friend
|
friend_request.activate_friend
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue