Story view receipts setting
This commit is contained in:
parent
ad42d98774
commit
3702a67975
21 changed files with 161 additions and 35 deletions
|
@ -177,3 +177,11 @@ export const getHasReadReceiptSetting = createSelector(
|
|||
getItems,
|
||||
(state: ItemsStateType): boolean => Boolean(state['read-receipt-setting'])
|
||||
);
|
||||
|
||||
export const getHasStoryViewReceiptSetting = createSelector(
|
||||
getItems,
|
||||
(state: ItemsStateType): boolean =>
|
||||
Boolean(
|
||||
state.storyViewReceiptsEnabled ?? state['read-receipt-setting'] ?? false
|
||||
)
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue