Skip to content

Commit

Permalink
fix: added isActive and updated android sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronvoell committed Feb 13, 2024
1 parent 634ba35 commit 8c9ac55
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions example/src/tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ test('can remove members from a group', async () => {
)
}

if (!camGroups[0].isActive()) {
if (!camGroups[0].isActive()) {
throw new Error('cams group should be active')
}

Expand All @@ -489,7 +489,7 @@ test('can remove members from a group', async () => {
await camGroups[0].sync()
await camClient.conversations.syncGroups()

if (!camGroups[0].isActive()) {
if (!camGroups[0].isActive()) {
throw new Error('cams group should active')
}

Expand Down
5 changes: 2 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -544,9 +544,8 @@ export function preCreateIdentityCallbackCompleted() {
XMTPModule.preCreateIdentityCallbackCompleted()
}

export function isGroupActive(clientAddress: string,
id: string): boolean {
return XMTPModule.isGroupActive(clientAddress, id)
export function isGroupActive(clientAddress: string, id: string): boolean {
return XMTPModule.isGroupActive(clientAddress, id)
}

export const emitter = new EventEmitter(XMTPModule ?? NativeModulesProxy.XMTP)
Expand Down

0 comments on commit 8c9ac55

Please sign in to comment.