recent senders: Rename sender_info getter function for brevity.

We will also later use this function for attaching other
information to it like whether the sender has been muted
or not.
This commit is contained in:
Abhijeet Prasad Bodas
2021-05-12 11:30:54 +05:30
committed by Tim Abbott
parent cf69ce166c
commit e4cbfcaf1d
4 changed files with 4 additions and 4 deletions

View File

@@ -315,7 +315,7 @@ function format_topic(topic_data) {
// Display in most recent sender first order
const all_senders = recent_senders.get_topic_recent_senders(stream_id, topic);
const senders = all_senders.slice(-MAX_AVATAR);
const senders_info = people.sender_info_with_small_avatar_urls_for_sender_ids(senders);
const senders_info = people.sender_info_for_recent_topics_row(senders);
return {
// stream info