From 1dbc41420bb51393d30a3a450bc3c49dcc94a162 Mon Sep 17 00:00:00 2001 From: "U-BASIS\\dsmyda" Date: Fri, 20 Sep 2019 11:13:13 -0400 Subject: [PATCH] Removed mime type from attachment --- InternalPythonModules/android/whatsapp.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/InternalPythonModules/android/whatsapp.py b/InternalPythonModules/android/whatsapp.py index eeb561923a..328f371c76 100644 --- a/InternalPythonModules/android/whatsapp.py +++ b/InternalPythonModules/android/whatsapp.py @@ -379,8 +379,7 @@ class WhatsAppMessagesParser(TskMessagesParser): M.timestamp AS send_timestamp, M.received_timestamp, M.remote_resource AS group_sender, - M.media_url As attachment, - M.media_mime_type as attachment_mimetype + M.media_url As attachment FROM (SELECT jid, recipients FROM wadb.wa_contacts AS WC @@ -449,9 +448,6 @@ class WhatsAppMessagesParser(TskMessagesParser): message = self.result_set.getString("content") attachment = self.result_set.getString("attachment") if attachment is not None: - mime_type = self.result_set.getString("attachment_mimetype") - if mime_type is not None: - attachment += "\nMIME type: " + mime_type return general.appendAttachmentList(message, [attachment]) return message