Commit b057acfc authored by skummer's avatar skummer

ZP-194

- fixed: the filtertype should only be reset if the device is sending an options block

git-svn-id: https://z-push.org/svn/z-push/trunk@1408 b7dd7b3b-3a3c-0410-9da9-bee62a6cc5b5
parent 392c0eb3
......@@ -231,10 +231,11 @@ class Sync extends RequestProcessor {
// Do not truncate by default
$spa->SetTruncation(SYNC_TRUNCATION_ALL);
while(self::$decoder->getElementStartTag(SYNC_OPTIONS)) {
// set to synchronize all changes. The mobile could overwrite this value
$spa->SetFilterType(SYNC_FILTERTYPE_ALL);
while(self::$decoder->getElementStartTag(SYNC_OPTIONS)) {
while(1) {
if(self::$decoder->getElementStartTag(SYNC_FOLDERTYPE)) {
$foldertype = self::$decoder->getElementContent();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment