fail jingle file transfer if axolotl key message could not be created. fixes #1576
This commit is contained in:
parent
a557d38e4d
commit
ecb4615f2a
|
@ -221,7 +221,11 @@ public class JingleConnection implements Transferable {
|
||||||
conversation.getAccount().getAxolotlService().prepareKeyTransportMessage(conversation.getContact(), new OnMessageCreatedCallback() {
|
conversation.getAccount().getAxolotlService().prepareKeyTransportMessage(conversation.getContact(), new OnMessageCreatedCallback() {
|
||||||
@Override
|
@Override
|
||||||
public void run(XmppAxolotlMessage xmppAxolotlMessage) {
|
public void run(XmppAxolotlMessage xmppAxolotlMessage) {
|
||||||
|
if (xmppAxolotlMessage != null) {
|
||||||
init(message, xmppAxolotlMessage);
|
init(message, xmppAxolotlMessage);
|
||||||
|
} else {
|
||||||
|
fail();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue