LinkStack icon indicating copy to clipboard operation
LinkStack copied to clipboard

[codex] skip empty vCard addresses

Open chaochaoweb3 opened this issue 5 months ago • 0 comments

Summary

  • skip HOME and WORK address entries when all address fields are blank
  • keep existing vCard output unchanged when any address field is present

Why

The vCard endpoint always called addAddress() for HOME and WORK. On iOS this can create empty HOME/WORK address entries, making the device try to resolve a location from just the label.

Fixes #961.

Validation

  • git diff --check
  • php -l app/Http/Controllers/UserController.php not run: PHP is not installed in this local environment

chaochaoweb3 avatar Jun 22 '26 14:06 chaochaoweb3