Skip to content

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

Merged
rodrigok merged 1 commit intoRocketChat:masterfrom
rwakida:bugfix/239
Jul 9, 2015
Merged

Fix RocketChat/Rocket.Chat#239 room's message count and last message#285
rodrigok merged 1 commit intoRocketChat:masterfrom
rwakida:bugfix/239

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 ;)

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.

2 participants

Comments