mojira.dev
MC-307140

Chat messages can no longer be reported if the chat is enabled

The bug

You cannot report players' chat messages if you have the chat enabled, as the "Chat Messages" button is disabled with the tooltip "This player can't be reported because chat is disabled or blocked". Setting the chat to "Commands Only" or "Hidden" enables the button; the behavior is simply inverted.

Steps to reproduce

  1. Join an online mode server with two accounts. Ensure that the chat is enabled in the client settings.

  2. Send a message from one account.

  3. On the other account, open the Social Interactions menu and click on the "Report player" button. The "Report Player" screen will open.

  4. Move your mouse cursor to the "Chat Messages" button.

Observed behavior

The button will be disabled, and a tooltip will be shown stating that the chat is disabled or blocked.

Expected behavior

The button would be enabled, allowing the player to report the other player's chat message.

Attachments

Comments 3

boolean chatDisabledOrBlocked = minecraft.player.chatAbilities().canReceivePlayerMessages() || socialManager.isBlocked(id);

should be obvious whats wrong here 😅

Surely this could’ve been a patch within the same version no?
I’m aware all mods are third party and unassociated but everything that just came out for 26.1 now has to be updated for 26.1.1 😮‍💨

MrKinau

Nathan Wolf

Confirmed

Platform HC

Very Important

Social Interactions

26.1

26.1.1 Release Candidate 1

Retrieved