friendica-addons/publicise/publicise.php

12 lines
337 B
PHP
Raw Normal View History

2022-03-02 16:44:54 +01:00
"SELECT `uid` FROM `contact` WHERE `id` = %d AND `reason` = 'publicise'", intval($item['contact-id']));
2019-09-30 20:52:05 +02:00
if (!$r1) {
return;
}
Logger::debug('Publicise: moving to wall: ' . $item['uid'] . ' ' . $item['contact-id'] . ' ' . $item['uri']);
$item['type'] = 'wall';
$item['wall'] = 1;
$item['private'] = 0;
}