diff --git a/app/models/user.rb b/app/models/user.rb index e4bf436ab01368d756308c4538c68fb8e20871e8..d89a009a5117ae591209d8f7114189d3e87ff65f 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -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