From c07f694a074e034ab78b88c9b9a73776090a929b Mon Sep 17 00:00:00 2001 From: redmatrix Date: Fri, 16 Oct 2015 04:21:40 -0700 Subject: another try at issue #89 - rotating photos --- include/import.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'include') diff --git a/include/import.php b/include/import.php index c90b05ec0..0fd1ab2a5 100644 --- a/include/import.php +++ b/include/import.php @@ -845,6 +845,14 @@ function import_mail($channel,$mails) { ); continue; } + if(array_key_exists('flags',$mail) && in_array('recalled',$mail['flags'])) { + q("update mail set mail_recalled = 1 where mid = '%s' and uid = %d limit 1", + dbesc($mail['message_id']), + intval($channel['channel_id']) + ); + continue; + } + $m = get_mail_elements($mail); if(! $m) continue; -- cgit v1.2.3