diff --git a/src/common/hook/useSendMessage.ts b/src/common/hook/useSendMessage.ts index 4aaf69d5..0ba6e4cd 100644 --- a/src/common/hook/useSendMessage.ts +++ b/src/common/hook/useSendMessage.ts @@ -19,7 +19,7 @@ interface SendMessagesDTO { channels: number[]; } -type SendMessageDTO = { type: ContentTypeKey } & Partial +type SendMessageDTO = { type: ContentTypeKey } & Partial & { ignoreLocal?: boolean } const useSendMessage = (props?: Props) => { const { context = "user", from = 0, to = 0 } = props || {}; const dispatch = useAppDispatch();