Update the message time before sending, fixes #424