RocketChat / RocketChat/Rocket.Chat

SlackBridge sending to wrong channel

Open
#11,854 2 comments 1 reaction 2 assignees View on GitHub

@pierre-lehnen-rc is already working on this.

Since Sep 19, 2019.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

When we first set up our Rocket.Chat server, we used #general for testing. Rather than blow it away and start over, we renamed #general to #oldgeneral. This made #oldgeneral the default channel, but that was easily fixed in the settings. However, I just set up SlackBridge, and when messages are relayed from #general in Slack, they appear in #oldgeneral in RC rather than (the new) #general. I tried deleting #oldgeneral and now the messages just disappear entirely.

Steps to reproduce:
  1. Rename #general
  2. Make a new #general
  3. Set up SlackBridge
  4. Join slack bot to #general on slack. Messages go to the original (renamed) #general instead of the new one.
Expected behavior:

Messages from Slack #general should go to the channel named #general

Actual behavior:

Messages from Slack #general go to the old channel with a different name.

Server Setup Information:
  • Version of Rocket.Chat Server: 0.66.0
  • Operating System: CentOS 7.5
  • Deployment Method: ansible
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: 0.9.4
  • MongoDB Version: 2.6.12

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.