Skip to content

[BUG] Can't post message to read-only channel where I'm the owner #10657

Closed
@leonardoaramaki

Description

Description:

Server Setup Information:

  • Version of Rocket.Chat Server: 0.64.0

Steps to Reproduce:

  1. Create an read-only channel or group.
  2. Since you're the owner of the room you've just created, type in any messange and send.
  3. You'll receive an automatically message informing that you've been muted, hence, your message is not sent.

Expected behavior:

Since I've just created the room, I'm the owner and I should be able to send any messages to it.

Actual behavior:

I get automatically muted and to send messages to my read-only channel I have to go to the channel preferences and unmute myself manually.

Relevant logs:

curl -H "X-Auth-Token: <AUTH_TOKEN>" \
     -H "X-User-Id: <USER_ID>" \
     -H "Content-Type: application/json" \
     -i -k -XPOST \
     "https://open.rocket.chat/api/v1/chat.sendMessage" \
     -d '{"message":{"_id":"<id>","rid":"<roomId>","msg":"Hello!","avatar":"https://open.rocket.chat/avatar/<username>?format=jpeg"}}'

Response:
{"message":false,"success":true}

Activity

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

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions