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