Skip to content

Commit

Permalink
add more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Jul 2, 2024
1 parent fd733f8 commit 67c0113
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ios/Wrappers/GroupWrapper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ struct GroupWrapper {
"peerInboxIds": try group.peerInboxIds,
"version": "GROUP",
"topic": group.topic,
"permissionLevel": permissionPolicySet,
"permissionPolicySet": permissionPolicySet,
"creatorInboxId": try group.creatorInboxId(),
"name": try group.groupName(),
"isActive": try group.isActive(),
Expand Down
6 changes: 3 additions & 3 deletions src/lib/Group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export class Group<
version = ConversationVersion.GROUP
topic: string
creatorInboxId: InboxId
permissionLevel: 'all_members' | 'admin_only' | 'custom_policy'
permissionPolicySet: PermissionPolicySet
name: string
isGroupActive: boolean
imageUrlSquare: string
Expand All @@ -36,7 +36,7 @@ export class Group<
createdAt: number
peerInboxIds: InboxId[]
creatorInboxId: InboxId
permissionLevel: PermissionPolicySet
permissionPolicySet: PermissionPolicySet
topic: string
name: string
isGroupActive: boolean
Expand All @@ -49,7 +49,7 @@ export class Group<
this.peerInboxIds = params.peerInboxIds
this.topic = params.topic
this.creatorInboxId = params.creatorInboxId
this.permissionLevel = params.permissionLevel
this.permissionPolicySet = params.permissionPolicySet
this.name = params.name
this.isGroupActive = params.isGroupActive
this.imageUrlSquare = params.imageUrlSquare
Expand Down

0 comments on commit 67c0113

Please sign in to comment.