Quantcast
Channel: Ignite Realtime : Discussion List - All Communities
Viewing all articles
Browse latest Browse all 10742

IQHandler gets wrong packets

$
0
0

Hello everybody,

 

I am currently developing a plugin that shall react to some custom IQs...

So I implemented some IQ Handlers ....and 3 out of 4 work.

 

I got IQ Handlers reacting on the following names and namespaces:

 

IQHandlerInfo("requestUsers","xxx:users")

IQHandlerInfo("requestTotalUserNumber","xxx:users")

IQHandlerInfo("requestAccountUnlockCode","xxx:users")

IQHandlerInfo("confirmUnlockCode","xxx:users")

 

However, the final one with the "confirmUnlockCode" methodName and the "xxx:users" namespace

always gets a packet with the following scheme:

 

<iq type="set" id="IQ_REQUEST_ACCOUNT_UNLOCK_CODE">

<requestAccountUnlockCode xmlns="xxx:users"/>

</iq>

 

Why does that Handler get notified of such a xmpp packet? The methodName is completely different.

Everything worked fine until I added that new IQHandler....and its only about 30 lines of code and I did check every line a couple of times...

I cant find an error...it must be something different I did not see yet.

 

I hope you guys can help me out here.

Thanks in advance!


Viewing all articles
Browse latest Browse all 10742

Trending Articles