Open shachargiladi opened 2 years ago
Hi!
According to the doc: https://developer.rocket.chat/reference/api/rest-api/endpoints/core-endpoints/users-endpoints/get-users-info
The unread count will be defined by this setting: Unread_Count (Admin Panel => General => Unread_Count)
One thing worth mentioning, that according to my tests here, if the user is online, and RC can confirm it was delivered, it will not count as unread.
On the other hand, if you send the message to the user and the message was not delivered (user offline on all devices), it will count as unread.
Let me know if this helps.
I'm trying to get a counter of unread messages per room for specific user. The route of users.info with the extra rooms field seems to give the wanted info but when showing channels (as part of the rooms array) the unread counter doesn't seem to show the correct number. Is there a way to make it work? or maybe is this a permission problem? I'm trying to get the info about the logged user rooms.
In addition, I tried to get the info i need from the channels.counters route but the info on private channels still doesn't seem to show the correct number.
rocket chat version used: 5.1.0