Skip to content

Commit

Permalink
Fix an issue with legacy data
Browse files Browse the repository at this point in the history
  • Loading branch information
SunburntRock89 committed May 23, 2023
1 parent 16c266b commit 486d833
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/internals/callClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,11 @@ export default class CallClient implements CallsWithNumbers {

// Mentions
for (const user of this.to.mentions) {
notificationContent += `<@${user}> `;
if (user.startsWith("<")) {
notificationContent += `${user} `;
} else {
notificationContent += `<@${user}> `;
}
}

let notificationMessageID: string;
Expand Down

0 comments on commit 486d833

Please sign in to comment.