From 4f78b28cae29fcfe0378a8b4fa43b83059fcb0aa Mon Sep 17 00:00:00 2001 From: haad Date: Fri, 8 Apr 2016 08:56:19 +0200 Subject: [PATCH] Remove obsolete dep --- src/post/TextPost.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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;