Remove obsolete dep

This commit is contained in:
haad 2016-04-08 08:56:19 +02:00
parent dd06a0ae60
commit 4f78b28cae

View File

@ -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;