Skip to content

Commit

Permalink
Look for attachments in the right place on macOS.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Aug 17, 2016
1 parent 0bb3b53 commit 0b68fd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions archive_imessage.pl
Expand Up @@ -492,8 +492,8 @@ sub flush_conversation {
my $mimetype = shift @output_attachments;
my $domain = 'MediaDomain';

$fname =~ s#\A\~/#$homedir/# if (not $ios_archive);
$fname =~ s#\A\~/## if ($ios_archive);
$fname =~ s#\A\~/Library/Messages/## if (!$ios_archive);
$fname =~ s#\A\~/##;
$fname =~ s#\A/var/mobile/## if ($ios_archive);
my $hashedfname = archive_fname($domain, $fname);

Expand Down

0 comments on commit 0b68fd4

Please sign in to comment.