Files
mantra-kmp/composeApp
Kgothatso Ngako c45a310641 Fix nip30303 tag parsing bugs
WordStatisticsTag.parse used has(3) but the tag has only 3 elements
(indices 0-2), so the guard never passed and parse always returned null
— silently breaking all Chapter and Chunk event parsing. Correct to
has(2).

Also replace unsafe tag[n].toInt() with toIntOrNull() in WordStatisticsTag
and IndexTag so a malformed numeric field from a relay returns null
instead of throwing NumberFormatException up through the parse loop.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-25 23:56:18 +02:00
..
2026-07-25 23:56:18 +02:00
2026-07-15 01:14:46 +02:00