mirror of
https://github.com/moparisthebest/mail
synced 2025-01-10 21:18:02 -05:00
remove unnecessary code
This commit is contained in:
parent
96088b04a3
commit
7385af2056
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user