add TODO comment to LinkToMention extension
This commit is contained in:
parent
2d7b067c93
commit
67cee201b6
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue