13 lines
466 B
TypeScript
13 lines
466 B
TypeScript
// Metro module 15040 (f15041).
|
|
export function getSuggestedContactNameForSuggestion(a0, a1) {
|
|
const r11 = a1?.contactNames != null ? (a1 == null ? void 0 : a1.contactNames.length) >= 2 ? a1 == null ? void 0 : a1.contactNames.slice(0, 2).join(" ").trim() : void 0 : void 0;
|
|
if (r11 != null) {
|
|
if (a0 == null && r11 != null) {
|
|
return r11;
|
|
}
|
|
if (a0 != null && a0 !== r11 && a0.split(" ")[0] !== r11.split(" ")[0]) {
|
|
return r11;
|
|
}
|
|
}
|
|
}
|