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_bots: Use small_avatar_url_for_user_id.

Aman Agrawal871b61e87213
diff --git a/web/src/settings_bots.ts b/web/src/settings_bots.ts
index cfb48bee66e..74d2bc4419e 100644
--- a/web/src/settings_bots.ts
+++ b/web/src/settings_bots.ts
@@ -451,9 +451,7 @@ function bot_info(bot_user_id: number): BotInfo {
? {
bot_owner_id: owner_id,
is_bot_owner_active: people.is_person_active(owner_id),
- owner_img_src: people.small_avatar_url_for_person(
- people.get_by_user_id(owner_id),
- ),
+ owner_img_src: people.small_avatar_url_for_user_id(owner_id),
}
: {
bot_owner_id: null,