Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/Service/Remote/RemoteContactsService.php
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ public function entityCreate(Entity $so): ?Entity {
}
$data = $so->data;

$result = $this->dataStore->create($path, $data, 'application/vcard');
$result = $this->dataStore->create($path, $data, 'text/vcard; charset=utf-8');

$ro = clone $so;
// persist the full resource path so the stored identifier matches what a
Expand All @@ -300,7 +300,7 @@ public function entityModify(Entity $so): ?Entity {
}
$data = $so->data;

$result = $this->dataStore->update($path, $data, 'application/vcard');
$result = $this->dataStore->update($path, $data, 'text/vcard; charset=utf-8');

$ro = clone $so;
$ro->remoteSignature = $result['etag'] ?? null;
Expand Down
Loading