Include story=true when deleting your story for everyone

This commit is contained in:
Scott Nonnenberg
2022-10-20 15:10:10 -07:00
committed by GitHub
parent ca6c992528
commit 5dea03f713
4 changed files with 26 additions and 5 deletions

View File

@@ -167,6 +167,7 @@ export async function sendStoryMessage(
sent_at: timestamp,
source: window.textsecure.storage.user.getNumber(),
sourceUuid: window.textsecure.storage.user.getUuid()?.toString(),
sourceDevice: window.textsecure.storage.user.getDeviceId(),
storyDistributionListId: distributionList.id,
timestamp,
type: 'story',
@@ -249,6 +250,7 @@ export async function sendStoryMessage(
sent_at: groupTimestamp,
source: window.textsecure.storage.user.getNumber(),
sourceUuid: window.textsecure.storage.user.getUuid()?.toString(),
sourceDevice: window.textsecure.storage.user.getDeviceId(),
timestamp: groupTimestamp,
type: 'story',
});