RS, DG, comments socket again
This commit is contained in:
parent
aa4d428ab7
commit
b645eb3f3d
1 changed files with 6 additions and 2 deletions
|
|
@ -74,8 +74,12 @@ class Comment
|
||||||
self.post_creator_signature = sign_with_key self.post.person.encryption_key
|
self.post_creator_signature = sign_with_key self.post.person.encryption_key
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def send_to_view
|
def send_to_view
|
||||||
SocketsController.new.outgoing(self)
|
people_with_permissions.each{|f|
|
||||||
|
SocketsController.new.outgoing(f.owner_id, self) if f.owner_id
|
||||||
|
}
|
||||||
|
SocketsController.new.outgoing(person.owner_id, self) if person.owner_id
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue