How can I visually change status of a user?
I found out that function O(e) in 913365 is exactly what's responsible for displaying an avatar with a status, so that if I patch it to be "dnd", everyone appears with this status.
However, the problem is that function O(e)'s argument has only parsed data, so I don't have a user object, not even an id.
I've surfed through tons of modules and spend hours of debugging and at most found that
935409 -- avatar in popup (also in 337328 ?)
759210 -- avatar in full modal
87657 -- avatar in friend list (also in 146378 ?)
570687 -- avatar in DM list
61918 -- avatar in members list (also in 888503 ?)
540853 -- avatar in DM title
I'm sure there is a global entry point that leads to that O function, but also has a user reference.
Unfortunately, printing stack trace didn't help.