Skip to content

App Crash on Startup for iOS Contact with URL Telegram / https://t.me/@id-500.... Matching Group Chat ID #2011

@huntharo

Description

@huntharo

Checklist

  • I am reporting an issue in existing functionality that does not work as intended
  • I've searched for existing GitHub issues

Description

App crashes just after startup if an iOS Contact exists with URL label Telegram (used for Siri intents) with URL https://t.me/@id-500[nnnn] that matches an open group chat group id. Contact must be deleted for app to stop crashing on startup. Does not happen if the ID is negative but does not match an actual open group chat id (e.g. https://t.me/@id-5005 will not cause a crash).

Expected Behavior

App should not crash even if contact with this URL format / value exists

Actual Behavior

App crashes - cannot be used at all

Steps to Reproduce

  1. Open a group chat
  2. Invide @getidsbot to get the [group ID] (like -50012345678)
  3. Create iOS contact with URL
    a. Label: Telegram
    b. URL: https://t.me/@id-50012345678
  4. Close Telegram
  5. Open Telegram
  6. App should crash every single time you open the app and have this group in your chat list
  7. Change group id to value that does not match group id - app should no longer crash on startup
  8. Delete the contact - app should no longer crash on startup

Environment

Device: iPhone 17 Pro Max

iOS version: 26.2.1

App version: 12.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions