mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 15:33:30 +00:00
recent_view_ui: Make tooltip data compatible with buddy_data.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
df657e7208
commit
4f297bee32
@@ -232,16 +232,15 @@ export function info_for(user_id: number): BuddyUserInfo {
|
||||
};
|
||||
}
|
||||
|
||||
export function get_title_data(
|
||||
user_ids_string: string,
|
||||
is_group: boolean,
|
||||
): {
|
||||
export type TitleData = {
|
||||
first_line: string;
|
||||
second_line: string | undefined;
|
||||
third_line: string;
|
||||
show_you?: boolean;
|
||||
is_deactivated?: boolean;
|
||||
} {
|
||||
};
|
||||
|
||||
export function get_title_data(user_ids_string: string, is_group: boolean): TitleData {
|
||||
if (is_group) {
|
||||
// For groups, just return a string with recipient names.
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user