[share api] only add "received_from" field if a share was found

fix #7311