From 7eea88a545fe1861807b86a17f509167c037cfd3 Mon Sep 17 00:00:00 2001 From: lilia Date: Sun, 2 Oct 2016 07:44:18 +0900 Subject: [PATCH] Convert expirationStartTimestamp to number --- js/libtextsecure.js | 2 +- libtextsecure/message_receiver.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/libtextsecure.js b/js/libtextsecure.js index 0869e4b8..4627482d 100644 --- a/js/libtextsecure.js +++ b/js/libtextsecure.js @@ -38250,7 +38250,7 @@ MessageReceiver.prototype.extend({ destination : destination, timestamp : timestamp.toNumber(), message : message, - expirationStartTimestamp : expirationStartTimestamp + expirationStartTimestamp : expirationStartTimestamp.toNumber() }; this.dispatchEvent(ev); }.bind(this)); diff --git a/libtextsecure/message_receiver.js b/libtextsecure/message_receiver.js index 7878f490..85f01e96 100644 --- a/libtextsecure/message_receiver.js +++ b/libtextsecure/message_receiver.js @@ -179,7 +179,7 @@ MessageReceiver.prototype.extend({ destination : destination, timestamp : timestamp.toNumber(), message : message, - expirationStartTimestamp : expirationStartTimestamp + expirationStartTimestamp : expirationStartTimestamp.toNumber() }; this.dispatchEvent(ev); }.bind(this));