Clicking username in chat settings results in loading an empty chat window

Duplicate of report in Bug Report On User Profile Click Issue