fix(discord): truncate thread titles by UTF-16 units + AUTHOR_MAP

Discord thread names share the same UTF-16 component budget as select
labels and buttons — route the sanitizers in gateway/run.py and the
adapter's rename_thread through utf16_len/_prefix_within_utf16_limit
instead of code-point slices. Adds rungmc357 to AUTHOR_MAP.
This commit is contained in:
teknium1 2026-07-07 04:30:11 -07:00 committed by Teknium
parent 0d9ed9214d
commit 1deeaf71ab
3 changed files with 16 additions and 5 deletions

View file

@ -290,6 +290,7 @@ AUTHOR_MAP = {
"290859878+synapsesx@users.noreply.github.com": "synapsesx",
"157689911+itsflownium@users.noreply.github.com": "itsflownium",
"dirtyren@users.noreply.github.com": "dirtyren",
"210088133+rungmc357@users.noreply.github.com": "rungmc357",
"florian.rutishauser@outlook.com": "flo1t",
"fanyang@microsoft.com": "fanyangCS",
"bigstar0920@gmail.com": "bigstar0920",