Skip to content

Commit

Permalink
userinfo: add missing + to identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
tulir committed Sep 25, 2024
1 parent e61dea0 commit 9aa3083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/connector/userinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func (wa *WhatsAppClient) contactToUserInfo(ctx context.Context, jid types.JID,
ui := &bridgev2.UserInfo{
Name: ptr.Ptr(wa.Main.Config.FormatDisplayname(jid, contact)),
IsBot: ptr.Ptr(jid.IsBot()),
Identifiers: []string{fmt.Sprintf("tel:%s", jid.User)},
Identifiers: []string{fmt.Sprintf("tel:+%s", jid.User)},
}
if getAvatar {
ui.ExtraUpdates = bridgev2.MergeExtraUpdaters(ui.ExtraUpdates, markAvatarFetchAttempted)
Expand Down

0 comments on commit 9aa3083

Please sign in to comment.