Fix resuming when message consists entirely of attachment data