Update libaxolotl

// FREEBIE
This commit is contained in:
lilia 2015-11-13 14:01:19 -08:00
parent d8318ba9bd
commit 70bde5f4fa
2 changed files with 2 additions and 2 deletions

View file

@ -37500,7 +37500,7 @@ window.axolotl.protocol = function(storage_interface) {
function getPaddedMessageLength(messageLength) {
var messageLengthWithTerminator = messageLength + 1;
var messagePartCount = messageLengthWithTerminator / 160;
var messagePartCount = Math.trunc(messageLengthWithTerminator / 160);
if (messageLengthWithTerminator % 160 != 0) {
messagePartCount++;