Use ReadonlyArrays in conversation model and redux
This commit is contained in:
parent
ecbf84638d
commit
dec23725e5
55 changed files with 173 additions and 162 deletions
|
@ -14,9 +14,9 @@ import { getRecipientsByConversation } from './getRecipientsByConversation';
|
|||
|
||||
export async function maybeForwardMessage(
|
||||
messageAttributes: MessageAttributesType,
|
||||
conversationIds: Array<string>,
|
||||
conversationIds: ReadonlyArray<string>,
|
||||
messageBody?: string,
|
||||
attachments?: Array<AttachmentType>,
|
||||
attachments?: ReadonlyArray<AttachmentType>,
|
||||
linkPreview?: LinkPreviewType
|
||||
): Promise<boolean> {
|
||||
const idForLogging = getMessageIdForLogging(messageAttributes);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue