Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
read_receipts: Fix rendering of avatars for some Gravatar users.
Tim Abbottbc0ca5f76958
diff --git a/static/js/read_receipts.js b/static/js/read_receipts.jsindex c862ffdb4a3..e2b1bc0427a 100644--- a/static/js/read_receipts.js+++ b/static/js/read_receipts.js@@ -22,7 +22,14 @@ export function show_user_list(message_id) {url: `/json/messages/${message_id}/read_receipts`,idempotent: true,success(data) {- const users = data.user_ids.map((id) => people.get_by_user_id(id));+ const users = data.user_ids.map((id) => {+ const user = people.get_by_user_id(id);+ return {+ user_id: user.user_id,+ full_name: user.full_name,+ avatar_url: people.small_avatar_url_for_person(user),+ };+ });users.sort(people.compare_by_name);loading.destroy_indicator($("#read_receipts_modal .loading_indicator"));