def ready_cb(self, conn): StreamTubeInitiatorClient.ready_cb(self, conn) # Gabble will refuse to create the tube if it didn't receive contact's # capability yet (to ensure that he supports tubes). Ideally we should # use the ContactCapability interface to determine when we can offer # the tube. As this API is still a DRAFT, we just add a delay for now. time.sleep(5) self.create_tube(CONNECTION_HANDLE_TYPE_CONTACT, self.contact_id)
def ready_cb(self, conn): StreamTubeInitiatorClient.ready_cb(self, conn) # Gabble will refuse to create the tube if it didn't receive contact's # capability yet (to ensure that he supports tubes). Ideally we should # use the ContactCapability interface to determine when we can offer # the tube. As this API is still a DRAFT, we just add a delay for now. time.sleep(5) self.create_tube(CONNECTION_HANDLE_TYPE_CONTACT, self.contact_id)
def ready_cb(self, conn): StreamTubeInitiatorClient.ready_cb(self, conn) self.join_muc()
def ready_cb(self, conn): StreamTubeInitiatorClient.ready_cb(self, conn) self.join_muc()