1
0
mirror of https://github.com/etesync/android synced 2025-01-10 15:51:08 +00:00

Make sure we never upload items without a uuid.

This commit is contained in:
Tom Hacohen 2020-09-06 09:47:37 +03:00
parent 6710459176
commit 6459d71ab6

View File

@ -652,7 +652,7 @@ constructor(protected val context: Context, protected val account: Account, prot
itemUpdateMtime(item)
} else {
val meta = ItemMetadata()
meta.name = local.uuid
meta.name = local.uuid!!
meta.setMtime(System.currentTimeMillis())
item = itemMgr.create(meta, "")