Skip to content

fix(scanner): open group chat invites scanned from a QR code - #1535

Merged
bmc08gt merged 1 commit into
code/cashfrom
fix/scanner-group-invite-qr
Sep 23, 2026
Merged

bmc08gt merged 1 commit into
code/cashfrom
fix/scanner-group-invite-qr

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Sep 23, 2026 •

Copy link
Copy Markdown
Collaborator

Scanning an app.flipcash.com/chat/{uuid} QR code did nothing from the camera and showed "no code found" from the gallery.

The router already classifies the link as GroupChatInvite. The scanner dropped it in two places:

  • DeeplinkType.isScannable listed GroupChatInvite as refused. The comment there said this was a missing feature, not a security decision.
  • Scanner's Navigatable branch had no case for it and fell through to emptyList().

GroupChatInvite is now scannable, and the scanner opens the same destination as a tapped invite link: Sheets.Tips, then Messaging.Chat(ByChatId(chatId)). For someone who isn't a member yet, that chat screen is the gated preview. Login and EmailVerification stay refused, since they carry secrets.

DeeplinkScanPolicyTest now expects invites to be scannable.

Scanning an app.flipcash.com/chat/{uuid} QR code did nothing from the
camera and showed "no code found" from the gallery. The router already
classifies the link as a GroupChatInvite, but isScannable refused it and
Scanner had no destination for it, so it fell through to an empty route
list.

GroupChatInvite is now scannable and opens the same destination as a
tapped invite link: Sheets.Tips, then Messaging.Chat by chat id, which is
the gated preview for someone who is not yet a member. Login and
EmailVerification stay refused, since they carry secrets.
@bmc08gt bmc08gt self-assigned this Sep 23, 2026
@github-actions github-actions Bot added area: scanner QR/Kikcode scanning, camera type: fix Bug fix labels Sep 23, 2026
@bmc08gt
bmc08gt merged commit bc64cb1 into code/cash Sep 23, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: scanner QR/Kikcode scanning, camera type: fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant