Properly handle websocket token (fixes chat).
This commit is contained in:
parent
6e945ee14b
commit
e4303da372
@ -104,6 +104,8 @@ export const parseUser = (data) => {
|
||||
output.background_image = data.background_image
|
||||
// on mastoapi this info is contained in a "relationship"
|
||||
output.following = data.following
|
||||
// Websocket token
|
||||
output.token = data.token
|
||||
}
|
||||
|
||||
output.created_at = new Date(data.created_at)
|
||||
|
Loading…
Reference in New Issue
Block a user