fix: Update unread_messages count in WhatsApp inboxes (#6154)

* fix: Update unread_count from backend instead of computing on the frontend

* Fix spec

* Remove status indicator on private notifications

* CodeClimate fix

* CodeClimate
This commit is contained in:
Pranav Raj S
2022-12-30 13:13:33 -08:00
parent cf48610f2f
commit 69bed3e08d
4 changed files with 9 additions and 2 deletions

View File

@@ -103,6 +103,7 @@ describe('#mutations', () => {
created_at: 1602256198,
},
],
unread_count: 0,
timestamp: 1602256198,
},
]);
@@ -130,6 +131,7 @@ describe('#mutations', () => {
created_at: 1602256198,
},
],
unread_count: 0,
timestamp: 1602256198,
},
]);