Skip to content

Cannot use command with channel option when md preview is disabled #5564

Open
@advaith1

Description

@advaith1

Description

When markdown preview is disabled in User Settings, you cannot use a command with a channel option. The channel selector shows but the pill has a red outline and errors when you try to send the command.

This issue was reported to me by a bot user who did not know why it was not working, and I can reproduce when I turn off markdown preview.

Steps to Reproduce

  1. Turn off markdown preview in User Settings > Text & Images
  2. Try to use a slash command with a channel option, such as Activities' /activity

Expected Behavior

The command works as normal

Current Behavior

You can select a channel, but the pill has a red outline and errors when you try to send the command

Screenshots/Videos

image

Client and System Information

Canary 152859 (25f375c) Host 1.0.49 Windows 10 64-Bit (10.0.25217)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions