platform/shared/sync/SyncProtocol_3.h in rhodes-3.1.1 vs platform/shared/sync/SyncProtocol_3.h in rhodes-3.2.0.beta.1
- old
+ new
@@ -75,10 +75,15 @@
",\"device_type\":" + json::CJSONEntry::quoteValue(strType) + "}";
}
String getClientResetUrl(const String& strClientID)
{
- return RHOCONF().getPath("syncserver") + "clientreset?client_id=" + strClientID;
+ String strUrl = RHOCONF().getPath("syncserver") + "clientreset?client_id=" + strClientID;
+ String strSources = RHOCONF().getString("reset_models");
+ if ( strSources.length() > 0 )
+ strUrl += strSources;
+
+ return strUrl;
}
String getClientChangesUrl()
{
String strUrl = RHOCONF().getPath("syncserver");