Skip to content

iPhone share can open a different bot's draft when the selected bot is gone #445

Done

Description

@pranavgawaii

What happened

The iOS share extension remembers the bot selected in its list. If that bot is removed before the app handles the share, the app falls back to the first available bot in the place. It opens that other bot and puts the shared content in its composer. Nothing is sent automatically, but the draft is in a conversation the person did not choose.

Expected: an explicit bot choice is never redirected to another bot. If it is unavailable, explain that the share was not placed.

I reproduced this with invented IDs in an isolated mobile-action fixture on unchanged dev at ddafc35. I rechecked current dev at 5ef9604; the share-handling file has not changed. I have not reproduced it on a physical iPhone.

Steps to reproduce

  1. Give place env-home one available bot, kiln.
  2. Deliver a synthetic share action addressed to removed bot removed in that place.
  3. Observe openChat("kiln") and a draft for kiln.

Version

Unreleased dev at 5ef9604; share extension not in released main 0.2.34

Platform

iPhone

Engine

Not applicable

Logs or screenshots

The regression fails on unchanged upstream: expected `openChat` not to run; received `openChat("kiln")`. No real account, bot, or personal data was used. The failure concerns routing, so a screenshot alone would not demonstrate it. Native before/after captures are still pending.

Proposed scope: reject invalid explicit share targets and show an alert when a selected bot has disappeared, preserving default-bot behavior when no bot was chosen.

Activity

  1. added
    bug
    on Nov 29, 2026
  2. SiddDevZ commented on Dec 3, 2026

    @SiddDevZ
    Contributor

    Fixed on dev via #447: a share to a bot that no longer exists is refused with a message instead of opening another bot. Shipping in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions