I'm trying to send this stanza to join the jabber conference chatroom
<presence to = "firstname.lastname@example.org/nickname">
I have written a handler to trigger some action once the room is successfully joined. For some reason, it takes an incredibly long time for the device that sent the stanza to run the function within the handler. Could take as long as a minute. But the same device would have no problem running the handler function, when a different device sends out the stanza. So for example, device A joins the room, device B is immediately notified and runs hanlder meanwhile device A takes for ever to run handler and vice versa. Who is familiar with such a problem?