]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Ignoring Sent from my* line in mail (iPhone/Pre)
authorEric Helgeson <erichelgeson@gmail.com>
Mon, 19 Oct 2009 16:52:25 +0000 (12:52 -0400)
committerEric Helgeson <erichelgeson@gmail.com>
Mon, 19 Oct 2009 16:52:25 +0000 (12:52 -0400)
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))