Skip to content

Commit

Permalink
refine sender name
Browse files Browse the repository at this point in the history
  • Loading branch information
micl2e2 committed Sep 23, 2023
1 parent 4ea8112 commit 6f61b9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tf-focusd/collector.cc
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,8 @@ TdCollector::process_update (td_api::object_ptr<td_api::Object> update)
}
case messageSenderChat::ID: {
auto casted = static_cast<messageSenderChat *> (sender_id.get ());
sender_name = get_chat_title (casted->chat_id_);
sender_name
= fmt::format ("{}(chat)", get_chat_title (casted->chat_id_));
break;
}
}
Expand Down

0 comments on commit 6f61b9b

Please sign in to comment.