parent
ea980b4385
commit
9031b4c10c
2 changed files with 2 additions and 2 deletions
|
@ -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++;
|
||||
|
|
|
@ -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++;
|
||||
|
|
Loading…
Reference in a new issue