Socket received comments
This commit is contained in:
parent
00f8a3e628
commit
50459d896c
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue