Skip to content

Thread reply previews not showing consistently across users in Rocket.Chat #35837

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Anxhul10 opened this issue Apr 17, 2025 · 3 comments
Open

Comments

@Anxhul10
Copy link
Contributor

Anxhul10 commented Apr 17, 2025

Description:

I tested thread reply previews between two accounts and found that the preview indicators (e.g. “X replied to this thread”) do not appear consistently for all users.

Steps to reproduce:

  1. I used two Rocket.Chat accounts: Anshul and Dummy.

  2. In a public channel, I created Thread 1 and Thread 2 (by replying to two separate messages).

  3. Then I performed the following:

    Thread 2:

    Dummy replied: th2 hi 1

    Anshul replied: th2 hi 2

    Thread 1:

    Anshul replied: th1 hi 1

    Dummy replied: th1 hi 2

Expected behavior:

All users should see thread reply previews under the original message, regardless of who replied or viewed it. The previews should always appear if any reply exists.

Actual behavior:

As Anshul:

✅ I see reply previews for both Thread 1 and Thread 2, showing all replies.

As Dummy:

✅ I only see preview for:

    My own reply to Thread 2

    Anshul's reply to Thread 1

❌ I do not see:

    Anshul’s reply to Thread 2

    My own reply to Thread 1

Server Setup Information:

  • Version of Rocket.Chat Server: open.rocket.chat
  • License Type:
  • Number of Users:
  • Operating System:
  • Deployment Method:
  • Number of Running Instances:
  • DB Replicaset Oplog:
  • NodeJS Version:
  • MongoDB Version:

Client Setup Information

  • Desktop App or Browser Version: Firefox 136.0.1 (64-bit)
  • Operating System: Ubuntu 24.04.2 LTS

Additional context

Image

Relevant logs:

@dhairyashiil
Copy link

I believe the reason for the different behaviors is the following button: Also send to channel.

Image

It seems that from the account 'Anshul', in both instances, you opened the thread when there were no replies, and the Also send to channel button was likely checked by default.

Could you please redo the testing with this in mind and let us know the results?

@Anxhul10
Copy link
Contributor Author

Anxhul10 commented Apr 19, 2025

Hey thank you for your input !
I tried enabling and disabling the also send to channel button and it solves the issue . I also came across a preference under Settings > Preferences called Also send thread message to channel behavior.

It appears that the Also send to channel checkbox in the message box overrides the preference set in Also send thread message to channel behavior (default).

Image

It would improve the user experience if:

  • When the preference Also send thread message to channel behavior is enabled (i.e., selected by default),
  • And the user manually selects the Also send to channel checkbox in the message box,

A toast notification is shown saying something like:

“This option is already enabled by default in your preferences.”

This would help avoid confusion and prevent users from selecting an already-active setting unnecessarily.

what do you think ? should I update the issue .

@Anxhul10
Copy link
Contributor Author

viewing thread from other user

Image

Viewing the same thread from the thread creator’s view:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants