Skip to content

Commit c9e4936

Browse files
committed
chore: fix build error
1 parent 3f0e44f commit c9e4936

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/lib/chat/helpers/createAttachment.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ export function createAttachment({
2323
recipientId,
2424
senderId,
2525
files,
26-
nonces,
27-
ids,
2826
message,
2927
replyToId,
3028
status = TS.PENDING
@@ -42,8 +40,8 @@ export function createAttachment({
4240
timestamp: Date.now(),
4341
type: 'attachment',
4442
asset: replyToId
45-
? { replyto_id: replyToId, reply_message: attachmentAsset(files, nonces, ids, message) }
46-
: attachmentAsset(files, nonces, ids, message),
43+
? { replyto_id: replyToId, reply_message: attachmentAsset(files, message) }
44+
: attachmentAsset(files, message),
4745
/**
4846
* When sending a message, we need to store the files locally.
4947
*/

0 commit comments

Comments
 (0)