-
Notifications
You must be signed in to change notification settings - Fork 10.9k
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
Not displayed the number of users and messages in private and public channels on the page /admin/rooms #12610
Comments
version 1.2.1 |
The message count still doesn't update after deleting/pruning messages. |
the current behavior is:
Should we need to fix only the message count problem when we delete the message or there are some other bugs unseen to me? |
@gabriellsh this issue requires us to decrease the message count when we delete/prune messages, right? I think the issue with member count must have been solved previously. Please guide me to solve this issue:) |
also, the no of new message send to a user seen on the left-side panel doesn't update after deletion of a message by the sender. This issue requires us to solve this problem too, right? |
Yes, that is correct, we should remove from the counter when messages are deleted/pruned. About the new messages, there's a setting to "Show deleted status", which when true, keeps a record that the message has been deleted. In these cases, both counters should keep their values, as the message is in the chat still, at least in some form. Then theres pruning. When pruning the messages, even with that setting set to true, it removes the messages entirely. After pruning the messages the UI shows how many messages were pruned, I think it is only a matter of getting that value and subtracting it from the counter(s). We have to think also if it is possible to just do a count() on the messages with the room id (it would do all the things I said automatically), but there could be performance issues. |
Ok, I want to work on this issue. I'm going to verify whether there is any count() exist or there is just a variable which we are updating btw I am pretty sure that it is a variable per room id which we are updating upon message insertion which doesn't change upon message deletion. |
@gabriellsh please review #16650 :) |
Description:
On the page
https://xxxxxx/admin/rooms
The current number of members of the channel or private group is not displayed, but the number of users in personal correspondence is displayed.
Also included recycling on this channel in the admin displays 1084 messages, and in fact there are only 10.
Actual behavior:
Server Setup Information:
The text was updated successfully, but these errors were encountered: