Remove processPreKey from protocol_wrapper
Use SessionBuilder directly instead of protocol_wrapper // FREEBIE
This commit is contained in:
@@ -76,13 +76,6 @@
|
||||
throw e;
|
||||
});
|
||||
});
|
||||
},
|
||||
processPreKey: function(preKeyBundle) {
|
||||
return queueJobForNumber(preKeyBundle.encodedNumber, function() {
|
||||
var address = libsignal.SignalProtocolAddress.fromString(preKeyBundle.encodedNumber);
|
||||
var builder = new libsignal.SessionBuilder(textsecure.storage.protocol, address);
|
||||
return builder.processPreKey(preKeyBundle);
|
||||
});
|
||||
}
|
||||
};
|
||||
})();
|
||||
|
Reference in New Issue
Block a user