Skip to content

[FIX] Regression in prune by user, and update lastMessage#11646

Merged
ggazzo merged 3 commits intoRocketChat:developfrom
vynmera:regressed-prune
Aug 7, 2018
Merged

[FIX] Regression in prune by user, and update lastMessage#11646
ggazzo merged 3 commits intoRocketChat:developfrom
vynmera:regressed-prune

Conversation

@vynmera
Copy link
Copy Markdown
Contributor

@vynmera vynmera commented Aug 1, 2018

Closes #11607
Closes #11648

811b832 forgot to remove all usages of Session, causing the users field to not be used.

Furthermore, I forgot to update lastMessage when pruning channels, so if the prune includes the latest message the database will hold wrong info.

@vynmera vynmera changed the title [FIX] Regression in prune by user [FIX] Regression in prune by user, and update lastMessage Aug 1, 2018
@sampaiodiego sampaiodiego added the area: ui/ux Related to UI/UX, frontend code, accessibility, and user interaction label Aug 2, 2018
@sampaiodiego sampaiodiego added this to the 0.69.0 milestone Aug 2, 2018
@ggazzo ggazzo merged commit fb21713 into RocketChat:develop Aug 7, 2018
@sampaiodiego sampaiodiego modified the milestones: 0.69.0, 0.68.4 Aug 9, 2018
sampaiodiego pushed a commit that referenced this pull request Aug 10, 2018
* Fix regression

* Also update lastMessage

* code style fix
@sampaiodiego sampaiodiego mentioned this pull request Aug 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ui/ux Related to UI/UX, frontend code, accessibility, and user interaction

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants