Update libaxolotl

Fixes #477

// FREEBIE
This commit is contained in:
lilia 2015-12-08 10:18:58 -08:00
parent ea980b4385
commit 9031b4c10c
2 changed files with 2 additions and 2 deletions

View file

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

View file

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