Skip to content

Commit

Permalink
Adds logging statement for incoming faye messages
Browse files Browse the repository at this point in the history
Signed-off-by: Akash Manohar J <akash@akash.im>
  • Loading branch information
HashNuke committed Mar 26, 2012
1 parent 81a35d3 commit 6b2528b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/faye_extensions/devise_auth.rb
@@ -1,6 +1,7 @@
class DeviseAuth
def incoming(message, callback)
if message['channel'] == "/meta/subscribe"
puts "MESSAGE: #{message.inspect}"
auth_token = message['ext']['auth_token']
user = User.find_by_authentication_token(auth_token)
if user
Expand Down

0 comments on commit 6b2528b

Please sign in to comment.