Skip to content

[FIX] message count of private and public channels on the page /admin/rooms#16650

Closed
subham103 wants to merge 1 commit intoRocketChat:developfrom
subham103:fixMessageCountInAdminRooms
Closed

[FIX] message count of private and public channels on the page /admin/rooms#16650
subham103 wants to merge 1 commit intoRocketChat:developfrom
subham103:fixMessageCountInAdminRooms

Conversation

@subham103
Copy link
Contributor

close #12610

Previously, upon deletion/prune messages, the message count on the page https://xxxxxx/admin/rooms remains the same as the previous value.

now decreased the value of the message count variable for the roomId in which the message is being deleted/pruned.

after changes

1) delete message

count before deleting one message:- 7

Rocket Chat(1)

Rocket Chat(2)

Rocket Chat(3)

Rocket Chat(4)

count after deleting one message:- 6

2) prune message(user: subham sahoo)

count before pruning one message:- 6

Rocket Chat(5)

Rocket Chat(6)

Rocket Chat(7)

count after pruning one message:- 2

@claassistantio
Copy link

claassistantio commented Feb 21, 2020

CLA assistant check
All committers have signed the CLA.

@gabriellsh
Copy link
Member

Hey, why did you open #16680 ? It's almost the same thing, you can update the current branch and comments (like if you need to link a PR that will be closed). I'll close this as I made some small changes in the other one :) Thanks for your contrib!

@gabriellsh gabriellsh closed this Feb 21, 2020
@subham103
Copy link
Contributor Author

@gabriellsh actually, first I worked on this issue, later I find out there is a similar issue which requires this issue to be solved. After all these two issues got resolved ✌️

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

Successfully merging this pull request may close these issues.

Not displayed the number of users and messages in private and public channels on the page /admin/rooms

3 participants

Comments