Properly handle websocket token (fixes chat).

This commit is contained in:
lain 2019-01-27 21:38:33 +01:00
parent 6e945ee14b
commit e4303da372

View file

@ -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)