diff --git a/app/models/user.rb b/app/models/user.rb index 297a2d9c8..22af43d39 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -43,6 +43,7 @@ class User model_class = class_name.to_s.camelize.constantize post = model_class.instantiate(options) post.creator_signature = post.sign_with_key(encryption_key) + post.save post.notify_people post.socket_to_uid owner.id if (owner_id && post.respond_to?(:socket_to_uid))