Skip to content

Commit

Permalink
Merge pull request Expensify#724 from software-mansion-labs/@szymczak…
Browse files Browse the repository at this point in the history
…/delete-sms-domain-with-accountToNameMap-phone-mention

Delete sms domain when having a v2 mention
  • Loading branch information
flodnv authored Jun 24, 2024
2 parents 29cd509 + bf5d424 commit b0b5f13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ExpensiMark.ts
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ export default class ExpensiMark {
return '@Hidden';
}

return `@${extras.accountIDToName?.[g1]}`;
return `@${Str.removeSMSDomain(extras.accountIDToName?.[g1] ?? '')}`;
}
return Str.removeSMSDomain(g2);
},
Expand Down

0 comments on commit b0b5f13

Please sign in to comment.