Merge branch 'fix-chat' into 'develop'

Properly handle websocket token (fixes chat).

See merge request pleroma/pleroma-fe!483
This commit is contained in:
Shpuld Shpludson 2019-01-27 20:49:09 +00:00
commit 8258c8b3f0

View file

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