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() {
|
||||
@Override
|
||||
public void run(XmppAxolotlMessage xmppAxolotlMessage) {
|
||||
init(message, xmppAxolotlMessage);
|
||||
if (xmppAxolotlMessage != null) {
|
||||
init(message, xmppAxolotlMessage);
|
||||
} else {
|
||||
fail();
|
||||
}
|
||||
}
|
||||
});
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue