First time My Stories post experience
This commit is contained in:
parent
c18fa35354
commit
f611256afc
11 changed files with 392 additions and 102 deletions
|
@ -282,6 +282,8 @@ function hideMyStoriesFrom(
|
|||
|
||||
storageServiceUploadJob();
|
||||
|
||||
window.storage.put('hasSetMyStoriesPrivacy', true);
|
||||
|
||||
dispatch({
|
||||
type: HIDE_MY_STORIES_FROM,
|
||||
payload: memberUuids,
|
||||
|
@ -378,6 +380,8 @@ function setMyStoriesToAllSignalConnections(): ThunkAction<
|
|||
storageServiceUploadJob();
|
||||
}
|
||||
|
||||
window.storage.put('hasSetMyStoriesPrivacy', true);
|
||||
|
||||
dispatch({
|
||||
type: RESET_MY_STORIES,
|
||||
});
|
||||
|
@ -432,6 +436,10 @@ function updateStoryViewers(
|
|||
|
||||
storageServiceUploadJob();
|
||||
|
||||
if (listId === MY_STORIES_ID) {
|
||||
window.storage.put('hasSetMyStoriesPrivacy', true);
|
||||
}
|
||||
|
||||
dispatch({
|
||||
type: VIEWERS_CHANGED,
|
||||
payload: {
|
||||
|
@ -599,7 +607,7 @@ export function reducer(
|
|||
state.distributionLists,
|
||||
MY_STORIES_ID,
|
||||
() => ({
|
||||
isBlockList: false,
|
||||
isBlockList: true,
|
||||
memberUuids: [],
|
||||
})
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue