MS added anohter logger so i can debug friend requests

This commit is contained in:
maxwell 2010-09-11 14:39:09 -07:00
parent e17500e702
commit 08233a74c5

View file

@ -204,6 +204,7 @@ class User
Rails.logger.info("Received a salmon: #{cleartext}")
salmon = Salmon::SalmonSlap.parse cleartext
if salmon.verified_for_key?(salmon.author.public_key)
Rails.logger.info("data in salmon: #{salmon.data}")
self.receive(salmon.data)
end
end