Drop story replies from group timeline

This commit is contained in:
Josh Perez
2022-04-20 19:33:38 -04:00
committed by GitHub
parent e5ba00b798
commit 774246b6e2
10 changed files with 358 additions and 33 deletions

View File

@@ -6,6 +6,7 @@ import { hasErrors } from '../state/selectors/message';
import { readReceiptsJobQueue } from '../jobs/readReceiptsJobQueue';
import { readSyncJobQueue } from '../jobs/readSyncJobQueue';
import { notificationService } from '../services/notifications';
import { isGroup } from './whatTypeOfConversation';
import * as log from '../logging/log';
export async function markConversationRead(
@@ -22,6 +23,7 @@ export async function markConversationRead(
conversationId,
newestUnreadAt,
readAt: options.readAt,
isGroup: isGroup(conversationAttrs),
}),
window.Signal.Data.getUnreadReactionsAndMarkRead({
conversationId,