Describe the bug
If you view a message containing at most 256 emojis the app may crash.
Reproduction
https://matrix.to/#/#crash-cinny:astralchroma.dev
Expected behavior
Don't crash.
Platform and versions
1. NixOS
2. LibreWolf 146.0.1-1
3. Cinny 4.10.2 (https://app.cinny.in)
4. continuwuity 0.5.3 (587abe9)
Additional context
Probably reproducible with normal Firefox.