*
* @param array $activity Activity data
* @param array $item item array
+ * @return int|bool New mail table row id or false on error
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
- * @throws \ImagickException
*/
private static function postMail($activity, $item)
{
}
$msg['body'] = $item['body'];
- Mail::insert($msg);
+ return Mail::insert($msg);
}
/**