mirror of
https://github.com/ItsVipra/ProToots
synced 2024-11-21 19:13:03 +00:00
match no/none pronouns
This commit is contained in:
parent
25d0280f8b
commit
e45a7c36d6
1 changed files with 4 additions and 0 deletions
|
@ -300,6 +300,10 @@ function extractFromBio(bio) {
|
|||
if (anyAllPronouns) {
|
||||
return anyAllPronouns[0];
|
||||
}
|
||||
const noPronouns = bio.match(/(no|none) +pronouns/);
|
||||
if (noPronouns) {
|
||||
return noPronouns[0];
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue