Skip to content

Commit

Permalink
Update groups.ts (lint)
Browse files Browse the repository at this point in the history
  • Loading branch information
okfull authored Oct 16, 2023
1 parent ea3a96f commit d29d9d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Socket/groups.ts
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ export const extractGroupMetadata = (result: BinaryNode) => {

const groupId = group.attrs.id.includes('@') ? group.attrs.id : jidEncode(group.attrs.id, 'g.us')
const eph = getBinaryNodeChild(group, 'ephemeral')?.attrs.expiration
const memberAddMode = getBinaryNodeChildString(group, 'member_add_mode') == "all_member_add"
const memberAddMode = getBinaryNodeChildString(group, 'member_add_mode') === "all_member_add"
const metadata: GroupMetadata = {
id: groupId,
subject: group.attrs.subject,
Expand Down

0 comments on commit d29d9d5

Please sign in to comment.