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

Don't be SYNCING until updating from the server #405

Merged
merged 1 commit into from
Mar 28, 2017

Conversation

dbkr
Copy link
Member

@dbkr dbkr commented Mar 28, 2017

Syncing should probably mean the stream is up to date and
streaming messages in real-time from the server, which is not the
case if we've only loaded the cached response. Stay PREPARED until
we actually get the latest from the server.

Syncing should probably mean the stream is up to date and
streaming messages in real-time from the server, which is not the
case if we've only loaded the cached response. Stay PREPARED until
we actually get the latest from the server.
dbkr added a commit to matrix-org/matrix-react-sdk that referenced this pull request Mar 28, 2017
Don't notify unless the js-sdk state is SYNCING, otherwise we'll
display notifications for messages that come in during the
incremental between the js-sdk cached data and the present.

Requires matrix-org/matrix-js-sdk#405
Fixes element-hq/element-web#3251
@kegsay
Copy link
Member

kegsay commented Mar 28, 2017

LGTM!

@dbkr dbkr merged commit 68948db into develop Mar 28, 2017
@t3chguy t3chguy deleted the dbkr/fix_notifs_on_refresh branch May 10, 2022 14:16
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