powered by Jive Software

Unable to get callback on Blocking Command push

Hi!

I tried to use new BlockingCommandManager and face with the problem.

BlockingCommandManager registers IQ Request Handlers for incoming IQ pushes informing about blocked or unblocked contacts.

As I see, I can not register other IQ Request Handlers without removing BlockingCommandManager’s one. So I don’t see any way to listen to blocking “pushes” to have real time reaction in my application. Am I wrong?

P.S. Should I have created this discussion in Smack support branch?

Am I wrong?
No, there is clearly a callback missing for block/unblock pushes. I will add those in the 4.2 branch. So that 4.2.0-rc3 should include them. Thanks for the hint!

Should I have created this discussion in Smack support branch?

The rule of thumb is that if you have no idea what you are talking about, then use Smack Support. If you are able to provide a good problem statement and possible solution, then use Smack Dev. In your case, it’s usually that.

Great! I worried that in RC phase you will not make such changes. Thanks!