Skip to content

fix: hide "Reply in direct message" option for messages sent by current user #40312

@Ankit-singh-dot

Description

@Ankit-singh-dot

Problem

Currently, the "Reply in direct message" option is shown for messages sent by the current user.

This allows users to initiate a direct message with themselves, which is redundant and may confuse users.

Expected Behavior

The "Reply in direct message" option should not be displayed for messages authored by the current user.

Actual Behavior

The option is shown for all messages, including those sent by the current user.

Steps to Reproduce

  1. Send a message in any channel
  2. Open the message actions menu
  3. Observe the "Reply in direct message" option
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions