Skip to content

Commit

Permalink
added thread_uuid to helpers
Browse files Browse the repository at this point in the history
  • Loading branch information
kevkevinpal committed Jul 11, 2023
1 parent 872710c commit 8b85b72
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ export async function parseReceiveParams(payload: Payload): Promise<{
const date_string = dat.message.date
const skip_payment_processing = dat.message.skipPaymentProcessing
const reply_uuid = dat.message.replyUuid
const thread_uuid = dat.message.thread_uuid
const parent_id = dat.message.parentId
const purchaser_id = dat.message.purchaser
const force_push = dat.message.push
Expand Down Expand Up @@ -362,6 +363,7 @@ export async function parseReceiveParams(payload: Payload): Promise<{
msg_uuid,
date_string,
reply_uuid,
thread_uuid,
parent_id,
skip_payment_processing,
purchaser_id,
Expand Down
1 change: 1 addition & 0 deletions src/network/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ export interface MessageContent {
recipientAlias?: string
recipientPic?: string
person?: string
thread_uuid?: string
}

export type ChatMembers = { [k: string]: ChatMember }
Expand Down

0 comments on commit 8b85b72

Please sign in to comment.