forked from AkkomaGang/akkoma-fe
Properly handle websocket token (fixes chat).
This commit is contained in:
parent
6e945ee14b
commit
e4303da372
1 changed files with 2 additions and 0 deletions
|
@ -104,6 +104,8 @@ export const parseUser = (data) => {
|
||||||
output.background_image = data.background_image
|
output.background_image = data.background_image
|
||||||
// on mastoapi this info is contained in a "relationship"
|
// on mastoapi this info is contained in a "relationship"
|
||||||
output.following = data.following
|
output.following = data.following
|
||||||
|
// Websocket token
|
||||||
|
output.token = data.token
|
||||||
}
|
}
|
||||||
|
|
||||||
output.created_at = new Date(data.created_at)
|
output.created_at = new Date(data.created_at)
|
||||||
|
|
Loading…
Reference in a new issue