aboutsummaryrefslogtreecommitdiffstats
path: root/include/import.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-10-16 04:21:40 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-10-16 04:21:40 -0700
commitc07f694a074e034ab78b88c9b9a73776090a929b (patch)
tree983ef631fae3238c2b8a225d58349fcc84ef1822 /include/import.php
parenta756c0b18228982743049f7691229ba55e83983f (diff)
downloadvolse-hubzilla-c07f694a074e034ab78b88c9b9a73776090a929b.tar.gz
volse-hubzilla-c07f694a074e034ab78b88c9b9a73776090a929b.tar.bz2
volse-hubzilla-c07f694a074e034ab78b88c9b9a73776090a929b.zip
another try at issue #89 - rotating photos
Diffstat (limited to 'include/import.php')
-rw-r--r--include/import.php8
1 files changed, 8 insertions, 0 deletions
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;