Skip to content

Commit

Permalink
Merge pull request #459 from xmtp/cv/mutable-metadata-error-groups-cr…
Browse files Browse the repository at this point in the history
…eated-before-pinned-frame-url-added

fix: do not set pinnedframeurl when initializing group object
  • Loading branch information
cameronvoell authored Aug 5, 2024
2 parents e6aa77b + af11ec6 commit 94867b1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ class GroupWrapper {
"isActive" to group.isActive(),
"name" to group.name,
"imageUrlSquare" to group.imageUrlSquare,
"description" to group.description,
"pinnedFrameUrl" to group.pinnedFrameUrl
"description" to group.description
// "pinnedFrameUrl" to group.pinnedFrameUrl
)
}

Expand Down
4 changes: 2 additions & 2 deletions ios/Wrappers/GroupWrapper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ struct GroupWrapper {
"isActive": try group.isActive(),
"name": try group.groupName(),
"imageUrlSquare": try group.groupImageUrlSquare(),
"description": try group.groupDescription(),
"pinnedFrameUrl": try group.groupPinnedFrameUrl()
"description": try group.groupDescription()
// "pinnedFrameUrl": try group.groupPinnedFrameUrl()
]
}

Expand Down
6 changes: 3 additions & 3 deletions src/lib/Group.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export class Group<
isGroupActive: boolean
imageUrlSquare: string
description: string
pinnedFrameUrl: string
// pinnedFrameUrl: string

constructor(
client: XMTP.Client<ContentTypes>,
Expand All @@ -44,7 +44,7 @@ export class Group<
isGroupActive: boolean
imageUrlSquare: string
description: string
pinnedFrameUrl: string
// pinnedFrameUrl: string
}
) {
this.client = client
Expand All @@ -57,7 +57,7 @@ export class Group<
this.isGroupActive = params.isGroupActive
this.imageUrlSquare = params.imageUrlSquare
this.description = params.description
this.pinnedFrameUrl = params.pinnedFrameUrl
// this.pinnedFrameUrl = params.pinnedFrameUrl
}

/**
Expand Down

0 comments on commit 94867b1

Please sign in to comment.