Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/bitfireAT/vcard4android.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicki Hirner <hirner@bitfire.at>2020-08-01 01:00:19 +0300
committerRicki Hirner <hirner@bitfire.at>2020-08-01 01:00:19 +0300
commit58e2454e9251162f0797b2100396580f41eb8cc9 (patch)
tree2606097f065171567991ebb68b9ef5215655c982
parent2de374c448a51b7b9710f87eb0872067eb7e514d (diff)
ignore SortString
-rw-r--r--src/main/java/at/bitfire/vcard4android/Contact.kt7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main/java/at/bitfire/vcard4android/Contact.kt b/src/main/java/at/bitfire/vcard4android/Contact.kt
index 248387d..56c1f58 100644
--- a/src/main/java/at/bitfire/vcard4android/Contact.kt
+++ b/src/main/java/at/bitfire/vcard4android/Contact.kt
@@ -195,7 +195,12 @@ class Contact {
is Logo, is Sound -> { /* remove = true */ }
// remove properties that don't apply anymore
- is ProductId, is Revision, is Source -> { /* remove = true */ }
+ is ProductId,
+ is Revision,
+ is SortString,
+ is Source -> {
+ /* remove = true */
+ }
else -> remove = false // don't remove unknown properties
}