From f32eb525f3fa0828a23f589d765c267e3b2aea86 Mon Sep 17 00:00:00 2001
From: Joram Wilander <jwawilander@gmail.com>
Date: Fri, 2 Sep 2016 12:50:15 -0400
Subject: Do not send push notifications for channels being actively viewed
 (#3931)

---
 webapp/tests/client_channel.test.jsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'webapp/tests/client_channel.test.jsx')

diff --git a/webapp/tests/client_channel.test.jsx b/webapp/tests/client_channel.test.jsx
index 72ba91f9d..ccfcb32a4 100644
--- a/webapp/tests/client_channel.test.jsx
+++ b/webapp/tests/client_channel.test.jsx
@@ -216,6 +216,7 @@ describe('Client.Channels', function() {
             var channel = TestHelper.basicChannel();
             TestHelper.basicClient().updateLastViewedAt(
                 channel.id,
+                true,
                 function(data) {
                     assert.equal(data.id, channel.id);
                     done();
-- 
cgit v1.2.3-1-g7c22

