mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-24 04:52:05 +01:00
Fix progress listener from merge
This commit is contained in:
parent
1ec9768f58
commit
6155b90be1
1 changed files with 5 additions and 7 deletions
|
@ -30,6 +30,7 @@ import java.util.Random;
|
||||||
|
|
||||||
import org.jivesoftware.smack.SmackException;
|
import org.jivesoftware.smack.SmackException;
|
||||||
import org.jivesoftware.smack.XMPPException;
|
import org.jivesoftware.smack.XMPPException;
|
||||||
|
import org.jivesoftware.smackx.jingle.element.JingleReasonElement;
|
||||||
import org.jivesoftware.smackx.jingle.transport.jingle_ibb.JingleIBBTransportManager;
|
import org.jivesoftware.smackx.jingle.transport.jingle_ibb.JingleIBBTransportManager;
|
||||||
import org.jivesoftware.smackx.jingle.transport.jingle_s5b.JingleS5BTransportManager;
|
import org.jivesoftware.smackx.jingle.transport.jingle_s5b.JingleS5BTransportManager;
|
||||||
import org.jivesoftware.smackx.jingle_filetransfer.JingleFileTransferManager;
|
import org.jivesoftware.smackx.jingle_filetransfer.JingleFileTransferManager;
|
||||||
|
@ -112,13 +113,10 @@ public class JetIntegrationTest extends AbstractOmemoIntegrationTest {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void progress(float percent) {
|
public void terminated(JingleReasonElement.Reason reason) {
|
||||||
|
if (reason == JingleReasonElement.Reason.success) {
|
||||||
}
|
received.signal();
|
||||||
|
}
|
||||||
@Override
|
|
||||||
public void finished() {
|
|
||||||
received.signal();
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
offer.accept(conTwo, targetStream);
|
offer.accept(conTwo, targetStream);
|
||||||
|
|
Loading…
Reference in a new issue