Use X-Signal-Receive-Stories header

This commit is contained in:
Fedor Indutny 2022-10-04 17:48:25 -07:00 committed by GitHub
parent c52fe3f377
commit ebafc933b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 66 additions and 12 deletions

View file

@ -184,6 +184,7 @@ export function createIPCEvents(
await window.storage.put('hasStoriesDisabled', value);
const account = window.ConversationController.getOurConversationOrThrow();
account.captureChange('hasStoriesDisabled');
window.textsecure.server?.onHasStoriesDisabledChange(value);
},
getPreferredAudioInputDevice: () =>