Quantcast
Channel: Ignite Realtime: Message List
Viewing all articles
Browse latest Browse all 12000

Re: Receive AdHocCommandData not totally right, how to handle this?

$
0
0

Hi  I have fixed the issue by adding a new item in form. And replace the following 2 kinds of provider.

 

 

 

ProviderManager.getInstance().addIQProvider(AdHocCommandDataEx.ELEMENT, AdHocCommandDataEx.NAMESPACE, new AdHocCommandDataProviderEx());

        ProviderManager.getInstance().addExtensionProvider(DataFormProviderEx.ELEMENT, DataFormProviderEx.NAMESPACE, new DataFormProviderEx());

 

 

Now, in my IQ listener, I can catch the user roaster items in the branch as below:

if(iq instanceof AdHocCommandDataEx) { ... }

 

 

 

I'm wondering if there is any impact on other kinds of IQ?


Viewing all articles
Browse latest Browse all 12000

Trending Articles