zulip/static
Abhijeet Prasad Bodas d0b3801596 ui_init: Fix "Error: Unknown user_id in get_by_user_id: 0".
For spectators (logged view), we send user_id=0 via page_params.

The people module does not know about this user ID, and so throws the
exception. Earlier `people.get_by_user_id` was not called on page load,
but only when determining settings permissions with `settings_data.user_has_permission`.

But 231c536cad made it so that that function
is always called, so we need to handle the spectator case explicitly.

Co-authored-by: Gaurav Pandey <gauravguitarrocks@gmail.com>
2021-07-22 14:06:13 -07:00
..
assets zulip-icon: Add `zulip-icon` as classPrefix for icon. 2021-04-29 09:02:25 -07:00
audio notificaiton_sounds: Add some atonal sounds created by @stwime. 2021-02-05 12:28:20 -08:00
generated
html templates: Mark all void tags as self-closing. 2021-04-21 09:49:34 -07:00
images for-events: Change header image. 2021-07-22 12:03:35 -07:00
js ui_init: Fix "Error: Unknown user_id in get_by_user_id: 0". 2021-07-22 14:06:13 -07:00
shared shared: Bump version to 0.0.6. 2021-06-15 14:40:58 -07:00
styles compose: Fix compose-preview size in expanded mode. 2021-07-22 12:51:04 -07:00
templates move_topic: Toggle checkbox by clicking it's label as well. 2021-07-22 11:07:49 -07:00
third third: Prevent typeahead from going off top of screen. 2021-07-07 16:47:30 -07:00
.gitignore dependencies: Replace moment.js with date-fns. 2021-02-05 11:04:32 -08:00