unicast presence subcribe should not send oic/ad message to presence server.
Change-Id: I3b1798b705b58646873de02e6d8a882fe84e1b64
Signed-off-by: jihwan.seo <jihwan.seo@samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/13673
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Ashok Babu Channa <ashok.channa@samsung.com>
#ifdef WITH_PRESENCE
if (method == OC_REST_PRESENCE)
{
- if (requestInfo.isMulticast)
- {
- OIC_LOG(ERROR, TAG, "AddClientCB for presence done.");
- goto exit;
- }
- else
- {
- OIC_LOG(ERROR, TAG, "this subscribe presence is unicast.");
- }
+ OIC_LOG(ERROR, TAG, "AddClientCB for presence done.");
+ goto exit;
}
#endif