mirror of
https://git.pleroma.social/sjw/pleroma-fe.git
synced 2024-12-23 18:45:45 +01:00
Merge branch 'fix-chat' into 'develop'
Properly handle websocket token (fixes chat). See merge request pleroma/pleroma-fe!483
This commit is contained in:
commit
8258c8b3f0
@ -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 New Issue
Block a user