Stories: Fix sender key persistence, pipe story: true into sends
This commit is contained in:
parent
67c706a7ef
commit
2b2594c20a
7 changed files with 76 additions and 30 deletions
|
@ -4556,7 +4556,7 @@ async function getStoryDistributionWithMembers(
|
|||
id: string
|
||||
): Promise<StoryDistributionWithMembersType | undefined> {
|
||||
const db = getInstance();
|
||||
const storyDistribution = prepare(
|
||||
const storyDistribution: StoryDistributionForDatabase | undefined = prepare(
|
||||
db,
|
||||
'SELECT * FROM storyDistributions WHERE id = $id;'
|
||||
).get({
|
||||
|
@ -4575,7 +4575,7 @@ async function getStoryDistributionWithMembers(
|
|||
});
|
||||
|
||||
return {
|
||||
...storyDistribution,
|
||||
...hydrateStoryDistribution(storyDistribution),
|
||||
members: members.map(({ uuid }) => uuid),
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue