[reSIProcate] [resiprocate/resiprocate] send presence mechanism through PUBLICATION message (#52)

Mateus Augusto Bellomo Agrello Ruivo notifications at github.com
Wed Aug 17 06:46:52 CDT 2016


> @@ -569,6 +610,79 @@ UserAgent::destroySubscriptionImpl(SubscriptionHandle handle)
>     }
>  }
>  
> +void 
> +UserAgent::createPublicationImpl(PublicationHandle handle, const Data& status, const Data& eventType, const NameAddr& target, unsigned int publicationTime, const Mime& mimeType)
> +{
> +   // Ensure we have a client publication handler for this event type
> +   if(!mDum.getClientPublicationHandler(eventType))
> +   {
> +      mDum.addClientPublicationHandler(eventType, this);
> +   }
> +   // Ensure that the request Mime type is supported in the dum profile
> +   if(!mProfile->isMimeTypeSupported(PUBLISH, mimeType))
> +   {
> +      mProfile->addSupportedMimeType(PUBLISH, mimeType);  

It worked without this line. Can I remove it, or you prefer I comment it?

-- 
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/resiprocate/resiprocate/pull/52/files/e0897e2885abd5e59bea8b7669ce3c42e9295d93#r75107052
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.resiprocate.org/pipermail/resiprocate-devel/attachments/20160817/971dbf29/attachment.htm>


More information about the resiprocate-devel mailing list