diff --git a/js/models/messages.js b/js/models/messages.js index ac3c3564..38d52210 100644 --- a/js/models/messages.js +++ b/js/models/messages.js @@ -467,7 +467,7 @@ return ms_from_now; }, setToExpire: function() { - if (this.isExpiring() && !this.expireTimer) { + if (this.isExpiring() && !this.expirationTimeout) { var ms_from_now = this.msTilExpire(); console.log('message', this.get('sent_at'), 'expires in', ms_from_now, 'ms'); this.expirationTimeout = setTimeout(this.markExpired.bind(this), ms_from_now);