Skip to content

Commit

Permalink
Flush the last conversation we see if it appears to be completed.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jun 20, 2016
1 parent df6f1f9 commit 964188d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion archive_imessage.pl
Expand Up @@ -879,7 +879,14 @@ sub talk_gap {
}

$db->disconnect();

# Flush the final conversation if it's older than the talk gap.
if (($lastdate > 0) && talk_gap($lastdate, $now)) {
dbgprint("Flushing last conversation.\n");
$startid = $ending_startid; # Just flush this here with the conversation.
flush_conversation(0);
}

exit(0);

# end of archive_imessage.pl ...

0 comments on commit 964188d

Please sign in to comment.