Fix Rescind request button (#10869)

This commit is contained in:
DS Boyce
2026-06-11 09:45:08 -07:00
committed by GitHub
parent c96d63fa5f
commit b0eaecb01b
@@ -271,9 +271,10 @@ function GroupChatJoinDialogContent({code}: {code?: string}) {
)
}
const convoId = joinLinkPreview.convo?.id
const convoId = joinLinkPreview.convoId
const isFollowing = joinLinkPreview.owner.viewer?.following ?? false
const hasRequested = !convoId && joinLinkPreview.viewer?.requestedAt != null
const hasRequested =
!joinLinkPreview.convo && joinLinkPreview.viewer?.requestedAt != null
let canJoin = true
let ButtonIconImage = isJoinPending || isWithdrawPending ? Loader : JoinIcon
@@ -417,7 +418,7 @@ function GroupChatJoinDialogContent({code}: {code?: string}) {
</View>
</View>
</View>
{convoId ? (
{joinLinkPreview.convo ? (
<Button
testID="openButton"
onPress={() => {