diff options
author | redmatrix <redmatrix@redmatrix.me> | 2015-10-16 04:21:40 -0700 |
---|---|---|
committer | redmatrix <redmatrix@redmatrix.me> | 2015-10-16 04:21:40 -0700 |
commit | c07f694a074e034ab78b88c9b9a73776090a929b (patch) | |
tree | 983ef631fae3238c2b8a225d58349fcc84ef1822 /include/import.php | |
parent | a756c0b18228982743049f7691229ba55e83983f (diff) | |
download | volse-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.php | 8 |
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; |