diff --git a/js/views/app_view.js b/js/views/app_view.js index e913cadd0..c39c83ab6 100644 --- a/js/views/app_view.js +++ b/js/views/app_view.js @@ -207,7 +207,7 @@ dialog.once('devicePairingRequestAccepted', (pubKey, cb) => Whisper.events.trigger('devicePairingRequestAccepted', pubKey, cb) ); - dialog.on('devicePairingRequestRejected', (pubKey, cb) => + dialog.on('devicePairingRequestRejected', pubKey => Whisper.events.trigger('devicePairingRequestRejected', pubKey) ); dialog.once('close', () => {