mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 08:15:16 +00:00
Add references support
This commit is contained in:
@ -28,6 +28,6 @@ bool validateUrl(String url) {
|
||||
}
|
||||
}
|
||||
|
||||
/// Validate user reference
|
||||
bool validateUserReference(String ref) =>
|
||||
/// Validate directory reference
|
||||
bool validateDirectoryReference(String ref) =>
|
||||
RegExp(r'@[a-zA-Z0-9]+').hasMatch(ref);
|
||||
|
Reference in New Issue
Block a user