Added first round of analytics and event tracking BOD-190
This commit is contained in:
@@ -39,11 +39,7 @@ export function ChatConversationContainer({ selectedConversation }) {
|
||||
0;
|
||||
|
||||
const handleMarkConversationAsRead = async () => {
|
||||
if (
|
||||
unreadCount > 0 &&
|
||||
!!selectedConversation &&
|
||||
!markingAsReadInProgress
|
||||
) {
|
||||
if (unreadCount > 0 && !!selectedConversation && !markingAsReadInProgress) {
|
||||
setMarkingAsReadInProgress(true);
|
||||
await markConversationRead();
|
||||
setMarkingAsReadInProgress(false);
|
||||
|
||||
Reference in New Issue
Block a user