From e4303da372687130903ee7b6c18b61a2b82601c0 Mon Sep 17 00:00:00 2001 From: lain Date: Sun, 27 Jan 2019 21:38:33 +0100 Subject: [PATCH] Properly handle websocket token (fixes chat). --- src/services/entity_normalizer/entity_normalizer.service.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/services/entity_normalizer/entity_normalizer.service.js b/src/services/entity_normalizer/entity_normalizer.service.js index d78c6a7601..e69547b6f8 100644 --- a/src/services/entity_normalizer/entity_normalizer.service.js +++ b/src/services/entity_normalizer/entity_normalizer.service.js @@ -104,6 +104,8 @@ export const parseUser = (data) => { output.background_image = data.background_image // on mastoapi this info is contained in a "relationship" output.following = data.following + // Websocket token + output.token = data.token } output.created_at = new Date(data.created_at)