Add report button to status ellipsis menu

This commit is contained in:
Shpuld Shpuldson 2021-01-12 14:43:21 +02:00
parent 3e7d1fbf23
commit 65dbf7b85d
7 changed files with 34 additions and 9 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: