Fix followed by chat invites (#10873)

This commit is contained in:
DS Boyce
2026-06-11 11:05:07 -07:00
committed by Samuel Newman
parent db3e04d9e7
commit dc1720fca6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ export function Root({
let action: ChatInviteAction | undefined
if (ChatBskyGroupDefs.isJoinLinkPreviewView(preview)) {
const convoId = preview.convo?.id
const isFollowing = preview.owner.viewer?.following ?? false
const isFollowing = preview.owner.viewer?.followedBy ?? false
const hasRequested = !convoId && preview.viewer?.requestedAt != null
if (convoId && convoId === currentConvoId) {
@@ -285,7 +285,7 @@ function GroupChatJoinDialogContent({code}: {code?: string}) {
}
const convoId = joinLinkPreview.convoId
const isFollowing = joinLinkPreview.owner.viewer?.following ?? false
const isFollowing = joinLinkPreview.owner.viewer?.followedBy ?? false
const hasRequested =
!joinLinkPreview.convo && joinLinkPreview.viewer?.requestedAt != null