]> git.mxchange.org Git - friendica.git/commitdiff
run limit_body_size on imported emails, which don't go through consume_feed
authorZach Prezkuta <fermion@gmx.com>
Sat, 23 Feb 2013 17:06:59 +0000 (10:06 -0700)
committerZach Prezkuta <fermion@gmx.com>
Sat, 23 Feb 2013 17:06:59 +0000 (10:06 -0700)
include/onepoll.php

index f66a48dd46a6d4c831ecafe6f5160b466f9c51e8..d5b1668d4fc8c5bb9211f895cd6d3c2f17dfcdea 100644 (file)
@@ -426,6 +426,7 @@ function onepoll_run(&$argv, &$argc){
                                                        continue;
                                                }
                                                $datarray['body'] = escape_tags($r['body']);
+                                               $datarray['body'] = limit_body_size($datarray['body']);
 
                                                logger("Mail: Importing ".$msg_uid." for ".$mailconf[0]['user']);