Skip to main content

Module blockid

Module blockid 

Source
Expand description

what an emote is filed under when blocked — the same rule the extension, the server, desktop and chatterino use, so a block made in any client hides the emote in every other. byte-for-byte parity is pinned by the vectors in the tests (shared with desktop).

provider urls (7tv/bttv/kick/twitch/ffz) file under the provider’s own emote id (ffz as ffz-<id>); everything else under sha256 of the normalised url.

Enums§

Scope
where an emote came from. pooled globals (/api/emotes) are filed by sha256 — except twitch’s own, by id; a channel’s set by provider id.

Functions§

all_forms
every key a block of this emote might be filed under by any client.
emote_hash
the key a block of this emote is filed under.