]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - scripts/maildaemon.php
Ignoring Sent from my* line in mail (iPhone/Pre)
[quix0rs-gnu-social.git] / scripts / maildaemon.php
index 11911dcbdc6cbaba57d02438bc494a9178302715..678ca24c318ad270739c6125c02288c2dfb1aa10 100755 (executable)
@@ -362,6 +362,10 @@ class MailerDaemon
             if (preg_match('/^\s*Sent via/', $line)) {
                 continue;
             }
+            if (preg_match('/^\s*Sent from my/', $line)) {
+                continue;
+            }
+
             // skip everything after a sig
             if (preg_match('/^\s*--+\s*$/', $line) ||
                 preg_match('/^\s*__+\s*$/', $line))