Skip to content

Commit

Permalink
Additional restructuring to improve code clarity and better allow for…
Browse files Browse the repository at this point in the history
… all `chathistory` subcommands.

Switch from repeated `AFTER` subcommands to `LATEST` → repeated `BETWEEN` commands to receive history when joining a channel (`AFTER` can fail silently, with 0 returned messages, if the message reference is no longer in the history available from the server).
Tweaks to `insert_message` (utilize same fuzz constant as `send_chathistory_request`) and to `is_referenceable_message` (disallow `RPL_TOPIC` and `RPL_TOPICWHOTIME` as message references).
  • Loading branch information
andymandias committed May 21, 2024
1 parent ab58a4e commit d7e9d49
Show file tree
Hide file tree
Showing 5 changed files with 347 additions and 221 deletions.
Loading

0 comments on commit d7e9d49

Please sign in to comment.