diff --git a/src/post/TextPost.js b/src/post/TextPost.js index 734bc36..9350f46 100644 --- a/src/post/TextPost.js +++ b/src/post/TextPost.js @@ -1,7 +1,7 @@ 'use strict'; const Post = require('./BasePost'); -const Encryption = require('orbit-common/lib/Encryption'); +// const Encryption = require('orbit-common/lib/Encryption'); // Simplest type of post: a string class TextPost extends Post { @@ -10,10 +10,9 @@ class TextPost extends Post { this.content = content; } - // TODO: make sure this works - encrypt(privkey, pubkey) { - this.content = Encryption.encrypt(this.content, privkey, pubkey); - } + // encrypt(privkey, pubkey) { + // this.content = Encryption.encrypt(this.content, privkey, pubkey); + // } } module.exports = TextPost;