somewhat workign version still with fixture

This commit is contained in:
Shpuld Shpuldson 2021-01-06 18:31:34 +02:00
commit a4e3cccf1c
9 changed files with 177 additions and 99 deletions

View file

@ -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: