Fix photo url generation (add URI type to VCard2Array)
Related to https://github.com/nextcloud/mail/pull/6715
Hello! Sometimes the contact photo returns the URI type and this affects the display of the photo in the search (for example, in mail) I added address generation for the URI type, thereby the photos of users in the mail are shown correctly in both cases.
May be it will be useful! Thank you!

Signed-off-by: Mikhail Sazanov [email protected]
Note : we are able to do this as even remote URI pictures are cached in the PhotoCache.
Thank you :+1:
/backport to stable24
/backport to stable23
/backport to stable22
Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22
/backport to stable25
The backport to stable24 failed. Please do this backport manually.
The backport to stable25 failed. Please do this backport manually.
The backport to stable23 failed. Please do this backport manually.
The backport to stable22 failed. Please do this backport manually.