From 6e4b73ec0cac962fa7b4985f5d4298ef1a58f589 Mon Sep 17 00:00:00 2001 From: Scott Nonnenberg Date: Wed, 18 Jul 2018 09:44:14 -0700 Subject: [PATCH] Fix lint errors in conversation_view.js --- js/views/conversation_view.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/js/views/conversation_view.js b/js/views/conversation_view.js index 2c9e743c1f..14c6c506c2 100644 --- a/js/views/conversation_view.js +++ b/js/views/conversation_view.js @@ -14,7 +14,6 @@ 'use strict'; window.Whisper = window.Whisper || {}; - const { Migrations } = Signal; const { Message } = window.Signal.Types; const { upgradeMessageSchema, @@ -968,8 +967,6 @@ }, downloadAttachment({ attachment, message }) { - const { getAbsoluteAttachmentPath } = Migrations; - Signal.Types.Attachment.save({ attachment, document, @@ -994,7 +991,6 @@ }, showLightbox({ attachment, message }) { - const { getAbsoluteAttachmentPath } = Migrations; const { contentType, path } = attachment; if ( @@ -1044,7 +1040,6 @@ showContactDetail({ contact, hasSignalAccount }) { const regionCode = storage.get('regionCode'); const { contactSelector } = Signal.Types.Contact; - const { getAbsoluteAttachmentPath } = window.Signal.Migrations; const view = new Whisper.ReactWrapperView({ Component: Signal.Components.ContactDetail,