Replies to Fitness.app messages are annotated with an error because they do not have a payload #212
Labels
bug
Something isn't working
crate: database
Related to the database crate
exporter
Related to exporter processes
table
Related to table data
The message body is parsed correctly, but the messages are annotated with an error message because
imessage-exporter
looks for a payload that doesn't exist. This is partially related to #28.The
kIMTranscriptPluginBreadcrumbTextReceiverIdentifier
data is still in theattributedBody
, so it is possible to detect these messages. For example:Affected messages are sent by the database owner from Apple Watch as reactions to Fitness.app friends completing workouts. Apple provides some detail on how these messages get sent here.
This is a problem because these types of "replies" actually send two messages: the first is an a normal message that contains the friend's Fitness accomplishment and the second is a 2-part message that contains the chosen response and a
U+FFFD
char, which indicates an App payload. However, since the messages are sent separately, and the message with theU+FFFD
does not have a payload,imessage-exporter
emits the error.The first message contains an
associated_message_guid
that points to the second. This query returns all of the top-level Fitness messages:imessage-exporter
does a better job of Messages.app at displaying these types of messages.From Message.app:
From
imessage-exporter
:The rest of the exported data is correct, but the error should not be present.
The text was updated successfully, but these errors were encountered: