Javascript error in iOS: e.screen_name.replace is undefined #856

Open
opened 2020-05-26 18:38:04 +00:00 by feld · 2 comments
Owner

image

![image](/attachments/0267fea4-a282-404f-894c-1fa0d371461c)
159 KiB
Owner

could you expand that to be able to see the stack trace?

could you expand that to be able to see the stack trace?
Owner

judging from the logs we call this function

const highlightClass = (user) => {
  return 'USER____' + user.screen_name
    .replace(/\./g, '_')
    .replace(/@/g, '_AT_')
}

with a faulty user, would be nice to know how and when this happens

judging from the logs we call this function ```javascript const highlightClass = (user) => { return 'USER____' + user.screen_name .replace(/\./g, '_') .replace(/@/g, '_AT_') } ``` with a faulty user, would be nice to know how and when this happens
Sign in to join this conversation.
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma/pleroma-fe#856
No description provided.