Notification improvements
This commit is contained in:
parent
04a4e6e5ff
commit
d2ef82686d
16 changed files with 408 additions and 410 deletions
|
@ -5,6 +5,7 @@ import { ConversationAttributesType } from '../model-types.d';
|
|||
import { sendReadReceiptsFor } from './sendReadReceiptsFor';
|
||||
import { hasErrors } from '../state/selectors/message';
|
||||
import { readSyncJobQueue } from '../jobs/readSyncJobQueue';
|
||||
import { notificationService } from '../services/notifications';
|
||||
import * as log from '../logging/log';
|
||||
|
||||
export async function markConversationRead(
|
||||
|
@ -39,7 +40,7 @@ export async function markConversationRead(
|
|||
return false;
|
||||
}
|
||||
|
||||
window.Whisper.Notifications.removeBy({ conversationId });
|
||||
notificationService.removeBy({ conversationId });
|
||||
|
||||
const unreadReactionSyncData = new Map<
|
||||
string,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue