Keep story creator around until we've verified contacts and queued job
This commit is contained in:
parent
4fc1b6388c
commit
9fba33943a
11 changed files with 178 additions and 41 deletions
|
@ -21,6 +21,7 @@ import type {
|
|||
SelectedStoryDataType,
|
||||
StoryDataType,
|
||||
StoriesStateType,
|
||||
AddStoryData,
|
||||
} from '../ducks/stories';
|
||||
import { HasStories, MY_STORIES_ID } from '../../types/Stories';
|
||||
import { ReadStatus } from '../../messages/MessageReadStatus';
|
||||
|
@ -58,6 +59,11 @@ export const getSelectedStoryData = createSelector(
|
|||
selectedStoryData
|
||||
);
|
||||
|
||||
export const getAddStoryData = createSelector(
|
||||
getStoriesState,
|
||||
({ addStoryData }): AddStoryData => addStoryData
|
||||
);
|
||||
|
||||
function getReactionUniqueId(reaction: MessageReactionType): string {
|
||||
return `${reaction.fromId}:${reaction.targetAuthorUuid}:${reaction.timestamp}`;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue