From 9a94e4e92a7444093299fcc2b6b69e9cd4ec890a Mon Sep 17 00:00:00 2001 From: Mark McKinnon Date: Wed, 20 Nov 2019 16:18:08 -0500 Subject: [PATCH] Update shareit.py Remove attachment file name from message body. --- InternalPythonModules/android/shareit.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/InternalPythonModules/android/shareit.py b/InternalPythonModules/android/shareit.py index 90efe572e3..c80dbaec10 100644 --- a/InternalPythonModules/android/shareit.py +++ b/InternalPythonModules/android/shareit.py @@ -107,10 +107,6 @@ class ShareItAnalyzer(general.AndroidComponentAnalyzer): direction = CommunicationDirection.OUTGOING toId = historyResultSet.getString("device_id") - msgBody = "" # there is no body. - attachments = [historyResultSet.getString("file_path")] - msgBody = general.appendAttachmentList(msgBody, attachments) - timeStamp = historyResultSet.getLong("timestamp") / 1000 messageArtifact = historyDbHelper.addMessage( self._MESSAGE_TYPE, @@ -120,7 +116,7 @@ class ShareItAnalyzer(general.AndroidComponentAnalyzer): timeStamp, MessageReadStatus.UNKNOWN, None, # subject - msgBody, + None, # message text None ) # thread id # add the file as attachment