From 7b284bbfe7825b49b8a049869aa39bc7aee7bac1 Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Tue, 15 Jan 2013 10:34:10 -0800 Subject: [PATCH] Fake proof texts while we work out a new scheme; fix bug with sending user ids --- .../astrid/actfm/sync/messages/ChangesHappened.java | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/astrid/plugin-src/com/todoroo/astrid/actfm/sync/messages/ChangesHappened.java b/astrid/plugin-src/com/todoroo/astrid/actfm/sync/messages/ChangesHappened.java index ae4772e27..3f158a891 100644 --- a/astrid/plugin-src/com/todoroo/astrid/actfm/sync/messages/ChangesHappened.java +++ b/astrid/plugin-src/com/todoroo/astrid/actfm/sync/messages/ChangesHappened.java @@ -105,6 +105,17 @@ public class ChangesHappened property, OE data) { Long l = data.getMergedValues().getAsLong(OutstandingEntry.VALUE_STRING_PROPERTY.name); if (l != null) { - if (property.name.equals(RemoteModel.USER_ID_PROPERTY) || property.name.equals(Task.CREATOR_ID.name)) + if (l == 0 && (property.name.contains(RemoteModel.USER_ID_PROPERTY.name) || property.name.equals(Task.CREATOR_ID.name))) return ActFmPreferenceService.userId(); return l; } else {