mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 06:53:25 +00:00
emoji: Validate parameters with Zod.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Anders Kaseorg
parent
3a4719915c
commit
d5cc7d7b79
@@ -467,7 +467,7 @@ export function initialize_everything(state_data) {
|
||||
// The emoji module must be initialized before the right sidebar
|
||||
// module, so that we can display custom emoji in statuses.
|
||||
emoji.initialize({
|
||||
realm_emoji: state_data.emoji.realm_emoji,
|
||||
...state_data.emoji,
|
||||
emoji_codes: generated_emoji_codes,
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user