Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Add fallback to last_active_ts if it beats the last sync time on a presence timeout. #2014
Conversation
matrixbot
commented
Mar 15, 2017
|
Can one of the admins verify this patch? |
matrixbot
commented
Mar 15, 2017
|
Can one of the admins verify this patch? |
matrixbot
commented
Mar 15, 2017
|
Can one of the admins verify this patch? |
| @@ -1157,7 +1157,8 @@ def handle_timeout(state, is_mine, syncing_user_ids, now): | ||
| # If there are have been no sync for a while (and none ongoing), | ||
| # set presence to offline | ||
| if user_id not in syncing_user_ids: | ||
| - if now - state.last_user_sync_ts > SYNC_ONLINE_TIMEOUT: |
|
@matrixbot test this please |
|
@matrixbot ok to test? |
erikjohnston
merged commit 54d2b7e
into
matrix-org:develop
Mar 15, 2017
psaavedra
added a commit
to psaavedra/synapse
that referenced
this pull request
May 19, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Half-Shot commentedMar 15, 2017
No description provided.