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: Use small_avatar_url_for_user_id instead of get_by_user_id.

Aman Agrawalacf3a7bb9640
diff --git a/web/src/settings.ts b/web/src/settings.ts
index 15d365e8a52..775383d1ae6 100644
--- a/web/src/settings.ts
+++ b/web/src/settings.ts
@@ -100,9 +100,7 @@ export function build_page(): void {
const rendered_settings_tab = render_settings_tab({
full_name: people.my_full_name(),
- profile_picture: people.small_avatar_url_for_person(
- people.get_by_user_id(people.my_current_user_id()),
- ),
+ profile_picture: people.small_avatar_url_for_user_id(people.my_current_user_id()),
date_joined_text: get_parsed_date_of_joining(),
current_user,
page_params,