Skip to content
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

Fix RocketChat/Rocket.Chat#239 room's message count and last message #285

Merged
merged 1 commit into from
Jul 9, 2015

Conversation

rwakida
Copy link
Contributor

@rwakida rwakida commented Jul 9, 2015

The message count when viewing History is incorrect because the ChatRoom message count and last message timestamp is not updated when a message is sent.

The ChatRoom update selector referenced the wrong (non-existant) field.
Thus, the room's message count was never incremented. Also fixes issue
where the room's last message timestamp is not set on the room document.

timestamp is not updated when a message is sent.

The ChatRoom update selector referenced the wrong (non-existant) field.
Thus, the room's message count was never incremented.  Also fixes issue
where the room's last message timestamp is not set on the room document.
rodrigok added a commit that referenced this pull request Jul 9, 2015
Fix #239 room's message count and last message
@rodrigok rodrigok merged commit 26c1315 into RocketChat:master Jul 9, 2015
@rodrigok
Copy link
Member

rodrigok commented Jul 9, 2015

Thanks ;)

@rwakida rwakida deleted the bugfix/239 branch July 9, 2015 18:31
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.

None yet

2 participants