Socket received comments

This commit is contained in:
Raphael 2010-08-25 17:34:12 -07:00
parent 00f8a3e628
commit 50459d896c

View file

@ -176,6 +176,7 @@ class User
elsif object.is_a?(Comment)
dispatch_comment object unless owns?(object)
object.socket_to_uid(id) if (object.respond_to?(:socket_to_uid) && !self.owns?(object))
else
Rails.logger.debug("Saving object: #{object}")
object.user_refs += 1