From 040cc1954bbc49cd4e247848cf9239b87f600d76 Mon Sep 17 00:00:00 2001 From: Mark McKinnon Date: Wed, 20 Nov 2019 15:48:31 -0500 Subject: [PATCH] Update zapya.py Remove attachment from message body. --- InternalPythonModules/android/zapya.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/InternalPythonModules/android/zapya.py b/InternalPythonModules/android/zapya.py index 7104b9f60e..8843e772c7 100644 --- a/InternalPythonModules/android/zapya.py +++ b/InternalPythonModules/android/zapya.py @@ -98,10 +98,6 @@ class ZapyaAnalyzer(general.AndroidComponentAnalyzer): else: direction = CommunicationDirection.INCOMING fromId = transfersResultSet.getString("device") - - msgBody = "" # there is no body. - attachments = [transfersResultSet.getString("path")] - msgBody = general.appendAttachmentList(msgBody, attachments) timeStamp = transfersResultSet.getLong("createtime") / 1000 messageArtifact = transferDbHelper.addMessage( @@ -112,7 +108,7 @@ class ZapyaAnalyzer(general.AndroidComponentAnalyzer): timeStamp, MessageReadStatus.UNKNOWN, None, # subject - msgBody, + None, # message Text None ) # thread id # add the file as attachment