From 4f98917eaf33f71b3c3a002fdfdbe8f6eee24a26 Mon Sep 17 00:00:00 2001 From: Brice-W Date: Fri, 16 Jul 2021 13:49:32 +1000 Subject: [PATCH] clean --- ts/models/conversation.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/ts/models/conversation.ts b/ts/models/conversation.ts index 1df311e82..dacdc2327 100644 --- a/ts/models/conversation.ts +++ b/ts/models/conversation.ts @@ -190,7 +190,6 @@ export class ConversationModel extends Backbone.Model { this.updateLastMessage = _.throttle(this.bouncyUpdateLastMessage.bind(this), 1000); this.throttledNotify = _.debounce(this.notify, 500, { maxWait: 1000 }); //start right away the function is called, and wait 1sec before calling it again - //this.markRead = _.debounce(this.markReadBouncy, 1000, { leading: true }); const markReadBouncy = _.debounce(this.markReadBouncy, 1000, { leading: true }); this.markRead = (newestUnreadDate: number) => { const lastReadTimestamp = this.get('lastReadTimestamp');