fix: Update conversation read status indicator logic (#5777)

This commit is contained in:
Muhsin Keloth
2022-10-31 22:05:48 +05:30
committed by GitHub
parent a0606d36f6
commit 92724576af
10 changed files with 1 additions and 54 deletions

View File

@@ -26,11 +26,4 @@ describe('#conversationMixin', () => {
conversationMixin.methods.unReadMessages(conversationFixture.conversation)
).toEqual(conversationFixture.unReadMessages);
});
it('should return the user message read flag', () => {
const contactLastSeen = 1649856659;
const createdAt = 1649859419;
expect(
conversationMixin.methods.hasUserReadMessage(createdAt, contactLastSeen)
).toEqual(false);
});
});