Skip to content

[FIX] Message editing is crashing the server when read receipts are enabled#10061

Merged
rodrigok merged 1 commit intodevelopfrom
fix-read-receipt-error-on-editing-message
Mar 8, 2018
Merged

[FIX] Message editing is crashing the server when read receipts are enabled#10061
rodrigok merged 1 commit intodevelopfrom
fix-read-receipt-error-on-editing-message

Conversation

@sampaiodiego
Copy link
Member

Editing a message with read receipts enabled are throwing this error on server's console:

E11000 duplicate key error index: rocketchat.rocketchat_message_read_receipt.$roomId_1_userId_1_messageId_1 dup key: { : \"aTXykw9Dkk7zb3bXXrocket.cat\", : \"aTXykw9Dkk7zb3bXX\", : \"utDHRDAdAempTqbGp\" }"

@rodrigok rodrigok changed the title [FIX] Message editing when read receipts are enabled [FIX] Message editing is crashing the server when read receipts are enabled Mar 8, 2018
@rodrigok rodrigok merged commit bdad666 into develop Mar 8, 2018
@rodrigok rodrigok deleted the fix-read-receipt-error-on-editing-message branch March 8, 2018 17:37
rodrigok added a commit that referenced this pull request Mar 9, 2018
…diting-message

[FIX] Message editing is crashing the server when read receipts are enabled
@rodrigok rodrigok mentioned this pull request Mar 9, 2018
@rodrigok rodrigok mentioned this pull request Apr 4, 2018
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.

3 participants

Comments