flamewave000 / dragonflagon-fvtt

DragonFlagon FoundryVTT Modules
BSD 3-Clause "New" or "Revised" License
64 stars 62 forks source link

DF Chat Enhancements: Whole chat log gets deleted when archiving a date range #417

Open cs96and opened 2 years ago

cs96and commented 2 years ago

Module DF Chat Enhancements 4.1.0

Describe the issue When archiving a date range, and choosing to delete the messages, the whole chat log is deleted, rather than just the date range that was selected. I'm pretty sure that the old v9 version used to only delete the date range that was selected.

To Reproduce Steps to reproduce the behavior:

  1. Click on "Archive Chat Log" button
  2. Enter a date range
  3. Check the "Delete the chat messages from the chat log" box.
  4. Click "Save Archive"
  5. Notice that the whole chat log has been cleared

Expected behavior Only the messages in the selected date range should be removed from the chat log