DOE for stories
This commit is contained in:
parent
d7307934bc
commit
5639c1adea
8 changed files with 381 additions and 15 deletions
|
@ -154,6 +154,7 @@ import { conversationJobQueue } from './jobs/conversationJobQueue';
|
|||
import { SeenStatus } from './MessageSeenStatus';
|
||||
import MessageSender from './textsecure/SendMessage';
|
||||
import type AccountManager from './textsecure/AccountManager';
|
||||
import { onStoryRecipientUpdate } from './util/onStoryRecipientUpdate';
|
||||
import { validateConversation } from './util/validateConversation';
|
||||
|
||||
const MAX_ATTACHMENT_DOWNLOAD_AGE = 3600 * 72 * 1000;
|
||||
|
@ -398,6 +399,10 @@ export async function startApp(): Promise<void> {
|
|||
'pniIdentity',
|
||||
queuedEventListener(onPNIIdentitySync)
|
||||
);
|
||||
messageReceiver.addEventListener(
|
||||
'storyRecipientUpdate',
|
||||
queuedEventListener(onStoryRecipientUpdate, false)
|
||||
);
|
||||
});
|
||||
|
||||
ourProfileKeyService.initialize(window.storage);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue