!Friendica Developers

@Michael Vogel I need to transform an incoming message in a wall-to-wall from an addon. I'm using the "post_local_end" hook to catch incoming messages and check if object-type is my custom one. Then I want to alter the incoming message into a wall-to-wall post. It's more or less how forums works. Any pointer on the best way to implement this?
Michael Vogel
Whatever you do: Only use "Item::insert" or "Item::update" to manipulate data. And please use "Item::select" or "Item::selectFirst" to fetch data. Additionally we will remove all "author-*" and "owner-*" fields in the future (with the exception of "author-id" and "owner-id").

If you want to distribute the item, you should use "Item::insert" with the "notify" parameter.