]> www.infradead.org Git - users/dwmw2/ews-sync.git/commitdiff
Gr, put BodyText on the correct request
authorDavid Woodhouse <dwmw2@infradead.org>
Mon, 19 Jul 2010 12:48:29 +0000 (13:48 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Mon, 19 Jul 2010 12:48:29 +0000 (13:48 +0100)
syncfolder.sh

index 73519779184080e27f538d1e175f15ac213fe8aa..414d4601242c18d7e7a5692e3be06e0d3d4e66b3 100755 (executable)
@@ -28,7 +28,6 @@ cat > $QUERYFILE <<EOF
     <SyncFolderItems xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
       <ItemShape>
         <t:BaseShape>AllProperties</t:BaseShape>
-        <t:BodyType>Text</t:BodyType>
       </ItemShape>
       <SyncFolderId>
         <t:DistinguishedFolderId Id="calendar"/>
@@ -100,6 +99,7 @@ cat $CHANGELIST | while read TYPE ITEMID ITEMCHANGEKEY; do
     <GetItem xmlns="http://schemas.microsoft.com/exchange/services/2006/messages">
       <ItemShape>
         <t:BaseShape>AllProperties</t:BaseShape>
+        <t:BodyType>Text</t:BodyType>
       </ItemShape>
       <ItemIds>
 <t:ItemId Id="$ITEMID" ChangeKey="$ITEMCHANGEKEY"/>