fixing accepted convos not appearing in inbox. removing blocked contacts from contact list.

pull/2222/head
warrickct 3 years ago
parent 2258c6da4c
commit 5cc7ccbfa8

@ -347,16 +347,22 @@ export const _getLeftPaneLists = (
if (
conversation.activeAt !== undefined &&
conversation.type === ConversationTypeEnum.PRIVATE &&
conversation.isApproved
conversation.isApproved &&
!conversation.isBlocked
) {
directConversations.push(conversation);
}
if (!conversation.isApproved || !conversation.isBlocked) {
// if (!conversation.isApproved && !conversation.isBlocked) {
if (!conversation.isApproved) {
// dont increase unread counter, don't push to convo list.
continue;
}
if (conversation.isBlocked) {
continue;
}
if (
unreadCount < 9 &&
conversation.unreadCount &&

Loading…
Cancel
Save