chore: ignoreLocal ts type
This commit is contained in:
@@ -19,7 +19,7 @@ interface SendMessagesDTO {
|
|||||||
channels: number[];
|
channels: number[];
|
||||||
}
|
}
|
||||||
|
|
||||||
type SendMessageDTO = { type: ContentTypeKey } & Partial<MessagePayload>
|
type SendMessageDTO = { type: ContentTypeKey } & Partial<MessagePayload> & { ignoreLocal?: boolean }
|
||||||
const useSendMessage = (props?: Props) => {
|
const useSendMessage = (props?: Props) => {
|
||||||
const { context = "user", from = 0, to = 0 } = props || {};
|
const { context = "user", from = 0, to = 0 } = props || {};
|
||||||
const dispatch = useAppDispatch();
|
const dispatch = useAppDispatch();
|
||||||
|
|||||||
Reference in New Issue
Block a user