Merge branch 'master' of github.com:diaspora/diaspora_rails

This commit is contained in:
maxwell 2010-07-16 10:39:18 -07:00
commit b39f7cebd0

View file

@ -56,7 +56,7 @@ class User < Person
end
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)
if Request.where(:callback_url => friend_request.callback_url).first
friend_request.activate_friend