Skip to content

Commit

Permalink
AS16.1 find - syncfindproperties isdraft
Browse files Browse the repository at this point in the history
  • Loading branch information
matidau committed Jul 28, 2024
1 parent 2bbff83 commit 84562c7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib/syncobjects/syncfindproperties.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@ public static function GetObjectFromSyncMail($mail) {
$fp->displaybcc = $mail->Displaybcc;
$fp->importance = $mail->importance;
$fp->read = $mail->read;
// TODO: fix me
$fp->isdraft = 0;
$fp->isdraft = $mail->isdraft;
$fp->preview = stream_get_contents($mail->asbody->data, 254);
$fp->hasattachments = empty($mail->attachments) ? 0 : 1;
$fp->from = $mail->from;
Expand Down

0 comments on commit 84562c7

Please sign in to comment.