mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 18:06:44 +00:00
Don't initialize bot_data until after people.initialize()
bot_data initialization depends on the results of people.initialize(); for example, to determine whether a bot is owned by the current user.
This commit is contained in:
@@ -242,6 +242,7 @@ $(function () {
|
||||
// initialize other stuff
|
||||
reload.initialize();
|
||||
people.initialize();
|
||||
bot_data.initialize(); // Must happen after people.initialize()
|
||||
markdown.initialize();
|
||||
composebox_typeahead.initialize();
|
||||
search.initialize();
|
||||
|
||||
Reference in New Issue
Block a user