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] Read Receipts were not working properly with subscriptions without ls #15656

Merged
merged 1 commit into from
Oct 24, 2019

Conversation

rodrigok
Copy link
Member

May be related to #15484 (comment)

The Read Receipts logic was getting the oldest ls (last seen, field where we store the time the user read the subscription last time) for the channel, so if some user, like a bot, was in the channel without that property set yet, the result could be undefined. If that user never enter in the channel to receive his first ls the read receipts would stop working (the case for the bots)

@rodrigok rodrigok added this to the 2.1.2 milestone Oct 23, 2019
@rodrigok rodrigok merged commit aec3823 into develop Oct 24, 2019
@rodrigok rodrigok deleted the read-receipts-ignore-subscriptions-without-ls branch October 24, 2019 11:39
rodrigok added a commit that referenced this pull request Oct 24, 2019
…iptions-without-ls

[FIX] Read Receipts were not working properly with subscriptions without ls
@rodrigok rodrigok mentioned this pull request Oct 24, 2019
@reetp reetp mentioned this pull request Oct 25, 2019
This was referenced Nov 22, 2019
@GoetheG
Copy link

GoetheG commented Nov 22, 2019

Shouldn't this issue be merged with all the other same isses? Cause this error still occurs with the latest version.
#4957
#15656
#15484

Please do so :)

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