somewhat workign version still with fixture
This commit is contained in:
parent
ab2c2c66bf
commit
a4e3cccf1c
9 changed files with 177 additions and 99 deletions
|
|
@ -201,7 +201,6 @@ export const parseUser = (data) => {
|
|||
// Convert punycode to unicode
|
||||
if (output.screen_name.includes('@')) {
|
||||
const parts = output.screen_name.split('@')
|
||||
console.log(parts)
|
||||
let unicodeDomain = punycode.toUnicode(parts[1])
|
||||
if (unicodeDomain !== parts[1]) {
|
||||
// Add some identifier so users can potentially spot spoofing attempts:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue