use Friendica\Object\Image;
use Friendica\Protocol\DFRN;
use Friendica\Protocol\OStatus;
use Friendica\Object\Image;
use Friendica\Protocol\DFRN;
use Friendica\Protocol\OStatus;
require_once 'include/text.php';
require_once 'include/threads.php';
require_once 'include/plaintext.php';
require_once 'include/text.php';
require_once 'include/threads.php';
require_once 'include/plaintext.php';
* The purpose of this function is to apply system message length limits to
* imported messages without including any embedded photos in the length
*/
* The purpose of this function is to apply system message length limits to
* imported messages without including any embedded photos in the length
*/
function limit_body_size($body) {
// logger('limit_body_size: start', LOGGER_DEBUG);
function limit_body_size($body) {
// logger('limit_body_size: start', LOGGER_DEBUG);
if ($contact['network'] === NETWORK_FEED) {
if ($pass < 2) {
logger("Consume feeds", LOGGER_DEBUG);
if ($contact['network'] === NETWORK_FEED) {
if ($pass < 2) {
logger("Consume feeds", LOGGER_DEBUG);
- feed_import($xml, $importer, $contact, $hub);
+ Feed::import($xml, $importer, $contact, $hub);