user status: Fix custom emoji not loading during page load.

The reason for this was we were not loading extra
parameters while storing the status emoji object.

For this we also need the emoji module to be initialized
early because the right sidebar would need it to display
the status emoji.
This commit is contained in:
Riken Shah
2021-08-02 12:00:09 +00:00
committed by Tim Abbott
parent a6bef51541
commit 8210daefc8
2 changed files with 8 additions and 4 deletions

View File

@@ -107,6 +107,7 @@ export function initialize(params) {
emoji_name: dct.emoji_name,
emoji_code: dct.emoji_code,
reaction_type: dct.reaction_type,
...emoji.get_emoji_details_by_name(dct.emoji_name),
});
}
}