squidowl / halloy

IRC application written in Rust
GNU General Public License v3.0
1.68k stars 66 forks source link

Miscellaneous Chat History Fixes #660

Open andymandias opened 1 day ago

andymandias commented 1 day ago

Two minor fixes.

  1. After one of the refactors history requests were no longer being made for the active buffer (due to metadata not being loaded, so there was no command to chain off of for the chathistory request).
  2. Requesting older chat history messages would fail for buffers with no messages in their history (because they produced an invalid chathistory request; MessageReference::None is not allowed for BEFORE chathistory requests).