The-Commit-Company / raven

Simple, open source team messaging platform
https://thecommit.company/products/raven
GNU Affero General Public License v3.0
296 stars 120 forks source link

All actions in a channel, such as creating, deleting, renaming, and archiving, should be updated in real time for all users. #878

Open Adilolge98 opened 5 months ago

Adilolge98 commented 5 months ago

Describe: If I perform any action on a channel, it should be updated in real time for different users.

Steps to reproduce:

Scenario 1: If Aditya creates a channel, it should appear in real time for Sumit as well.

Scenario 2: If Aditya archives a channel while both he and Sumit are on the same channel, Sumit should be redirected to the general channel. Currently, Sumit can still send messages in the archived channel before refreshing the page.

Probable Solution: Fire an event on every channel operation.