1
0
mirror of https://github.com/moparisthebest/mail synced 2025-01-11 05:28:00 -05:00

remove unnecessary code

This commit is contained in:
Felix Hammerl 2014-02-25 20:42:38 +01:00
parent 96088b04a3
commit 7385af2056

View File

@ -74,10 +74,6 @@ define(function(require) {
self._imapClient = options.imapClient; self._imapClient = options.imapClient;
self._pgpMailer = options.pgpMailer; self._pgpMailer = options.pgpMailer;
// set private key
if (self._crypto && self._crypto._privateKey) {
self._pgpbuilder._privateKey = self._crypto._privateKey;
}
// delegation-esque pattern to mitigate between node-style events and plain js // delegation-esque pattern to mitigate between node-style events and plain js
self._imapClient.onIncomingMessage = function(message) { self._imapClient.onIncomingMessage = function(message) {