mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 00:05:16 +00:00
Can upload new custom emojies
This commit is contained in:
@ -31,3 +31,7 @@ bool validateUrl(String url) {
|
||||
/// Validate directory reference
|
||||
bool validateDirectoryReference(String ref) =>
|
||||
RegExp(r'@[a-zA-Z0-9]+').hasMatch(ref);
|
||||
|
||||
/// Validated a shortcut
|
||||
bool validateShortcut(String shortcut) =>
|
||||
RegExp(r'^:[a-zA-Z0-9]+:$').hasMatch(shortcut);
|
||||
|
Reference in New Issue
Block a user