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
7f039958
Unverified
Commit
7f039958
authored
6 years ago
by
Erik Johnston
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #3768 from krombel/fix_3445
fix #3445 - do not use itervalues() on SortedDict()
parents
82276a18
8c0c51ec
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
changelog.d/3768.bugfix
+1
-0
1 addition, 0 deletions
changelog.d/3768.bugfix
synapse/federation/send_queue.py
+2
-2
2 additions, 2 deletions
synapse/federation/send_queue.py
with
3 additions
and
2 deletions
changelog.d/3768.bugfix
0 → 100644
+
1
−
0
View file @
7f039958
Fix bug in sending presence over federation
This diff is collapsed.
Click to expand it.
synapse/federation/send_queue.py
+
2
−
2
View file @
7f039958
...
...
@@ -32,7 +32,7 @@ Events are replicated via a separate events stream.
import
logging
from
collections
import
namedtuple
from
six
import
iteritems
,
itervalues
from
six
import
iteritems
from
sortedcontainers
import
SortedDict
...
...
@@ -117,7 +117,7 @@ class FederationRemoteSendQueue(object):
user_ids
=
set
(
user_id
for
uids
in
itervalues
(
self
.
presence_changed
)
for
uids
in
self
.
presence_changed
.
values
(
)
for
user_id
in
uids
)
...
...
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