From c63645360b92b526f662a1bebf4364ea4da8a08a Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Wed, 5 Feb 2020 14:31:36 -0300 Subject: [PATCH] [REGRESSION] Read messages (#1666) --- app/lib/methods/subscriptions/room.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/methods/subscriptions/room.js b/app/lib/methods/subscriptions/room.js index d2f4bc55..06713647 100644 --- a/app/lib/methods/subscriptions/room.js +++ b/app/lib/methods/subscriptions/room.js @@ -128,7 +128,7 @@ export default class RoomSubscription { }); read = debounce((lastOpen) => { - this.readMessages(this.rid, lastOpen); + RocketChat.readMessages(this.rid, lastOpen); }, 300); handleMessageReceived = protectedFunction((ddpMessage) => {