Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support CLIENTTAGDENY #368

Merged
merged 3 commits into from
Aug 21, 2024

Commits on Aug 11, 2023

  1. feat: support RPL_ISUPPORT CLIENTTAGDENY

    This is useful for clients which want to do graceful
    degradations of client tags features such as typing, reacts, replies, etc.
    
    See https://ircv3.net/specs/extensions/message-tags#rpl_isupport-tokens
    for specification.
    RaitoBezarius committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    117580e View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2023

  1. feat: supports CLIENTTAGDENY parsing and "is blocked" function

    This introduces a `MessageTags.parseDenylist` which parses
    the value of `CLIENTTAGDENY=<value>` string into a structure containing
    everything you need to perform O(#allowed tags) or O(#denied tags)
    check for whether a tag is allowed or not.
    
    Then, a `MessageTags.isBlocked` function can be used to leverage that
    structure to perform this check.
    RaitoBezarius committed Aug 12, 2023
    Configuration menu
    Copy the full SHA
    bb168ef View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2023

  1. Simplify

    ItsOnlyBinary committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    1c75264 View commit details
    Browse the repository at this point in the history