summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Kraus <hanzi@hanzi.cc>2020-01-04 14:26:03 +0100
committerChristian Kraus <hanzi@hanzi.cc>2020-01-06 12:31:30 +0100
commit16001ab488bbf0464c665a9d093f5c0d7f97eec2 (patch)
tree39f754cc8d0521ea186976d9b61940b1bfaaebf3 /src
parent438e83e7d1a43074bf591f784d87f1df7a0b976d (diff)
Save vCards using the correct syntax for its version
Previously, vCards were always serialised in vCard 4.0 syntax, even if the vCard version was actually set to something else. Signed-off-by: Christian Kraus <hanzi@hanzi.cc>
Diffstat (limited to 'src')
-rw-r--r--src/store/contacts.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/store/contacts.js b/src/store/contacts.js
index 2b7bd1b3..3cb1ec7a 100644
--- a/src/store/contacts.js
+++ b/src/store/contacts.js
@@ -330,7 +330,7 @@ const actions = {
rev.fromUnixTime(Date.now() / 1000)
contact.rev = rev
- const vData = ICAL.stringify(contact.vCard.jCal)
+ const vData = contact.vCard.toString()
// if no dav key, contact does not exists on server
if (!contact.dav) {