1
0
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:
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)