7.6.6: refined twitter module, removed spaces

This commit is contained in:
wukko
2023-11-07 22:37:47 +06:00
parent bf18652e5a
commit 463ece02c7
5 changed files with 69 additions and 98 deletions

View File

@@ -1,6 +1,5 @@
export const testers = {
"twitter": (patternMatch) => (patternMatch["id"] && patternMatch["id"].length < 20)
|| (patternMatch["spaceId"] && patternMatch["spaceId"].length === 13),
"twitter": (patternMatch) => (patternMatch["id"] && patternMatch["id"].length < 20),
"vk": (patternMatch) => (patternMatch["userId"] && patternMatch["videoId"]
&& patternMatch["userId"].length <= 10 && patternMatch["videoId"].length <= 10),