Don't dispatch create-event on startup

I have my plugin listen to the create-event. I noticed, that the create-event is fired on startup for the file, that Obsidian opens automatically, even if the note existed previously!

Steps to reproduce

  1. Create todays daily note
  2. Set Obsidian to open todays daily note on startup
  3. Add some event-listener to the create-event
  4. Restart Obsidian

Expected result

No create-event dispatched (because creation happened beforehand)

Actual result

create-event dispatched


OS: Arch Linux
Obsidian Version: v1.0.3

Let me know if I can help in any way. If this won’t/ can’t be fixed: Why does this behaviour exist in the first place? I’d argue that dispatching the create-event even if nothing is newly created is unintuitive.