Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Monitor
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Maunium
synapse
Commits
f3cf3ff8
Commit
f3cf3ff8
authored
8 years ago
by
Erik Johnston
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of github.com:matrix-org/synapse into develop
parents
7c551ec4
4902db1f
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
CHANGES.rst
+9
-0
9 additions, 0 deletions
CHANGES.rst
synapse/__init__.py
+1
-1
1 addition, 1 deletion
synapse/__init__.py
synapse/handlers/federation.py
+4
-4
4 additions, 4 deletions
synapse/handlers/federation.py
with
14 additions
and
5 deletions
CHANGES.rst
+
9
−
0
View file @
f3cf3ff8
Changes in synapse v0.20.0 (2017-04-11)
=======================================
Bug fixes:
* Fix joining rooms over federation where not all servers in the room saw the
new server had joined (PR #2094)
Changes in synapse v0.20.0-rc1 (2017-03-30)
Changes in synapse v0.20.0-rc1 (2017-03-30)
===========================================
===========================================
...
...
This diff is collapsed.
Click to expand it.
synapse/__init__.py
+
1
−
1
View file @
f3cf3ff8
...
@@ -16,4 +16,4 @@
...
@@ -16,4 +16,4 @@
"""
This is a reference implementation of a Matrix home server.
"""
This is a reference implementation of a Matrix home server.
"""
"""
__version__
=
"
0.20.0
-rc1
"
__version__
=
"
0.20.0
"
This diff is collapsed.
Click to expand it.
synapse/handlers/federation.py
+
4
−
4
View file @
f3cf3ff8
...
@@ -1097,15 +1097,15 @@ class FederationHandler(BaseHandler):
...
@@ -1097,15 +1097,15 @@ class FederationHandler(BaseHandler):
user_id
,
user_id
,
"
leave
"
"
leave
"
)
)
signed_
event
=
self
.
_sign_event
(
event
)
event
=
self
.
_sign_event
(
event
)
except
SynapseError
:
except
SynapseError
:
raise
raise
except
CodeMessageException
as
e
:
except
CodeMessageException
as
e
:
logger
.
warn
(
"
Failed to reject invite: %s
"
,
e
)
logger
.
warn
(
"
Failed to reject invite: %s
"
,
e
)
raise
SynapseError
(
500
,
"
Failed to reject invite
"
)
raise
SynapseError
(
500
,
"
Failed to reject invite
"
)
# Try the host we succes
s
fully
got a response to /make_join/
# Try the host
that
we succesfully
called /make_leave/ on first for
#
request fir
st.
#
the /send_leave/ reque
st.
try
:
try
:
target_hosts
.
remove
(
origin
)
target_hosts
.
remove
(
origin
)
target_hosts
.
insert
(
0
,
origin
)
target_hosts
.
insert
(
0
,
origin
)
...
@@ -1115,7 +1115,7 @@ class FederationHandler(BaseHandler):
...
@@ -1115,7 +1115,7 @@ class FederationHandler(BaseHandler):
try
:
try
:
yield
self
.
replication_layer
.
send_leave
(
yield
self
.
replication_layer
.
send_leave
(
target_hosts
,
target_hosts
,
signed_
event
event
)
)
except
SynapseError
:
except
SynapseError
:
raise
raise
...
...
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