You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When querying the im.counters endpoint for a user that has never entered the chat, the unreads counter returns null instead of the total number of messages in the room.
Steps to reproduce:
Open a direct message conversation between two users
Send some messages from one of the users
Query the im.counters endpoint with the userId of the other user of the conversation
Expected behavior:
The unreads variable shows the same number of messages as the msgs variable.
Actual behavior:
The unreads variable returns null
Server Setup Information:
Version of Rocket.Chat Server: 6.10.2
License Type: Community
Number of Users: 479
Operating System: Debian 12 (bookworm)
Deployment Method: docker
Number of Running Instances: 1
The text was updated successfully, but these errors were encountered:
Description:
When querying the im.counters endpoint for a user that has never entered the chat, the unreads counter returns null instead of the total number of messages in the room.
Steps to reproduce:
Expected behavior:
The unreads variable shows the same number of messages as the msgs variable.
Actual behavior:
The unreads variable returns null
Server Setup Information:
The text was updated successfully, but these errors were encountered: