Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Matrix
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Operate
Environments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Matrix
Commits
104844c1
Commit
104844c1
authored
5 years ago
by
Andrew Morgan
Browse files
Options
Downloads
Patches
Plain Diff
Add explanatory comment
parent
74064775
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
synapse/handlers/device.py
+2
-1
2 additions, 1 deletion
synapse/handlers/device.py
synapse/handlers/sync.py
+2
-0
2 additions, 0 deletions
synapse/handlers/sync.py
with
4 additions
and
1 deletion
synapse/handlers/device.py
+
2
−
1
View file @
104844c1
...
...
@@ -127,7 +127,8 @@ class DeviceWorkerHandler(BaseHandler):
)
tracked_users
=
set
(
users_who_share_room
)
# always tell the user about their own devices
# Always tell the user about their own devices
tracked_users
.
add
(
user_id
)
changed
=
yield
self
.
store
.
get_users_whose_devices_changed
(
...
...
This diff is collapsed.
Click to expand it.
synapse/handlers/sync.py
+
2
−
0
View file @
104844c1
...
...
@@ -1144,6 +1144,8 @@ class SyncHandler(object):
)
tracked_users
=
set
(
users_who_share_room
)
# Always tell the user about their own devices
tracked_users
.
add
(
user_id
)
# Step 1a, check for changes in devices of users we share a room with
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment