Skip to content

[FIX] Deleting message with store last message not removing#9335

Merged
rodrigok merged 1 commit intodevelopfrom
fix-not-updating-last-message
Jan 5, 2018
Merged

[FIX] Deleting message with store last message not removing#9335
rodrigok merged 1 commit intodevelopfrom
fix-not-updating-last-message

Conversation

@sampaiodiego
Copy link
Copy Markdown
Member

@RocketChat/core

Closes #9332

getLastMessageSentWithNoTypeByRoomId(rid) {
getLastVisibleMessageSentWithNoTypeByRoomId(rid, messageId) {
const query = {
_id: { $ne: messageId },
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume this is safe? if this is undefined will this have negative effects on this query?

@sampaiodiego sampaiodiego added this to the 0.60.4 milestone Jan 5, 2018
@sampaiodiego sampaiodiego force-pushed the fix-not-updating-last-message branch from 11ebf26 to eddd352 Compare January 5, 2018 19:10
@rodrigok rodrigok changed the title [FIX] Fix updating last message when showing deleted status [FIX] Deleting message with store last message not removing Jan 5, 2018
@rodrigok rodrigok merged commit 987b1e1 into develop Jan 5, 2018
@rodrigok rodrigok deleted the fix-not-updating-last-message branch January 5, 2018 20:02
rodrigok added a commit that referenced this pull request Jan 8, 2018
[FIX] Deleting message with store last message not removing
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.

Deleting message with store last message not removing

4 participants