Compare commits

..

No commits in common. "4c9616202dce4c55a3aa5164711635efd0a4cfe5" and "36b0862db7b49577e166f932122c1b8a7d1277a5" have entirely different histories.

1 changed files with 2 additions and 1 deletions

View File

@ -269,7 +269,8 @@ func ConfirmSyncUserData(device string, data proto.UserSyncConfirm) error {
}
if len(data.Delete) > 0 {
if len(data.Delete) == 0 {
var ids_delete []string
for _, v := range data.Delete {
ids_delete = append(ids_delete, strconv.Itoa(int(v.ID)))