[FIX] Ignore unavailable statuses

They aren't that useful, especially in MUCs.
This commit is contained in:
lda 2025-01-25 12:20:47 +00:00
commit 389870c5d3
9 changed files with 108 additions and 9 deletions

View file

@ -64,6 +64,12 @@ extern void UnistrFree(Unistr *unistr);
* Returns: whenever the character is within the BMP */
extern bool UnistrIsBMP(uint32_t u);
/** Returns true IFF the character is within the 7-bit ASCII range
* not 0x0000
* ------------------------------------------------------------
* Returns: whenever the character is within ASCII */
extern bool UnistrIsASCII(uint32_t u);
typedef bool (*UnistrFilterFunc)(uint32_t u);
/** "Filters" characters in a Unistring by codepoint, removing
* those with callbacks which return false into a new unistring.