add TODO comment to LinkToMention extension

This commit is contained in:
Henry Hiles 2026-08-11 20:52:14 -04:00
commit 67cee201b6
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -9,6 +9,7 @@ extension LinkToMention on String {
/// ///
/// Returns the decoded identifier (e.g. "#room:matrix.org") /// Returns the decoded identifier (e.g. "#room:matrix.org")
/// or null if this is not a Matrix link. /// or null if this is not a Matrix link.
/// TODO: Needs to be reworked to handle event links. Might be worth just rewriting, I don't like this code.
String? get mention { String? get mention {
final trimmed = trim(); final trimmed = trim();