mirror of
https://github.com/zulip/zulip.git
synced 2025-11-08 16:01:58 +00:00
emoji refactor: Let emoji.js own the data.
We now only use page_params.realm_emoji at intialization time, and then settings_emoji gets the data from emoji.js.
This commit is contained in:
committed by
Anders Kaseorg
parent
d11c6686a1
commit
5280b87f19
@@ -66,7 +66,7 @@ exports.populate_emoji = function () {
|
||||
return;
|
||||
}
|
||||
|
||||
const emoji_data = page_params.realm_emoji;
|
||||
const emoji_data = emoji.get_server_realm_emoji_data();
|
||||
|
||||
for (const emoji of Object.values(emoji_data)) {
|
||||
// Add people.js data for the user here.
|
||||
|
||||
Reference in New Issue
Block a user