Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

settings_emoji: Use small_avatar_url_for_person for emoji authors.

Shubham Padia64210734c126
diff --git a/web/src/settings_emoji.ts b/web/src/settings_emoji.ts
index 1a5ba030e96..3d799222062 100644
--- a/web/src/settings_emoji.ts
+++ b/web/src/settings_emoji.ts
@@ -116,7 +116,11 @@ export function populate_emoji(): void {
get_item: ListWidget.default_get_item,
modifier_html(item) {
const author = item.author
- ? {...item.author, is_active: people.is_person_active(item.author_id)}
+ ? {
+ ...item.author,
+ is_active: people.is_person_active(item.author_id),
+ avatar_url: people.small_avatar_url_for_person(item.author),
+ }
: "";
return render_admin_emoji_list({
emoji: {