removed an annoying log of encrypted salmon.

This commit is contained in:
maxwell 2010-09-19 20:36:39 -07:00
parent 27c00bae90
commit 07d2de6646
2 changed files with 1 additions and 1 deletions

View file

@ -76,6 +76,7 @@ class Person
end end
def self.by_webfinger( identifier, opts = {}) def self.by_webfinger( identifier, opts = {})
#need to check if this is a valid email structure, maybe should do in JS
local_person = Person.first(:diaspora_handle => identifier.gsub('acct:', '')) local_person = Person.first(:diaspora_handle => identifier.gsub('acct:', ''))
if local_person if local_person

View file

@ -220,7 +220,6 @@ class User
###### Receiving ####### ###### Receiving #######
def receive_salmon ciphertext def receive_salmon ciphertext
cleartext = decrypt( ciphertext) cleartext = decrypt( ciphertext)
Rails.logger.info("Received a salmon: #{cleartext}")
salmon = Salmon::SalmonSlap.parse cleartext salmon = Salmon::SalmonSlap.parse cleartext
if salmon.verified_for_key?(salmon.author.public_key) if salmon.verified_for_key?(salmon.author.public_key)
Rails.logger.info("data in salmon: #{salmon.data}") Rails.logger.info("data in salmon: #{salmon.data}")