summaryrefslogtreecommitdiffstats
path: root/src/views
diff options
context:
space:
mode:
Diffstat (limited to 'src/views')
-rw-r--r--src/views/Contacts.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/Contacts.vue b/src/views/Contacts.vue
index d9412555..19663370 100644
--- a/src/views/Contacts.vue
+++ b/src/views/Contacts.vue
@@ -265,7 +265,7 @@ export default {
methods: {
async newContact() {
- let contact = new Contact('BEGIN:VCARD\nVERSION:4.0\nEND:VCARD', this.defaultAddressbook)
+ let contact = new Contact(`BEGIN:VCARD\nVERSION:4.0\nPRODID:-//Nextcloud Contacts v${oca_contacts.versionstring}\nEND:VCARD`, this.defaultAddressbook)
const properties = rfcProps.properties(this)
contact.fullName = t('contacts', 'New contact')
// itterate over all properties (filter is not usable on objects and we need the key of the property)