summary refs log tree commit diff
path: root/synapse/handlers/sync.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-10-02 14:39:30 +0100
committerErik Johnston <erik@matrix.org>2018-10-02 14:39:30 +0100
commit7fa156af8061397f425f23c159b5ef12bf20f830 (patch)
treed1ee85a8436de10c828e7394c1f1afee978ae952 /synapse/handlers/sync.py
parentMerge branch 'develop' into matrix-org-hotfixes (diff)
parentMerge pull request #3960 from matrix-org/rav/fix_missing_create_event_error (diff)
downloadsynapse-7fa156af8061397f425f23c159b5ef12bf20f830.tar.xz
Merge branch 'develop' of github.com:matrix-org/synapse into matrix-org-hotfixes
Diffstat (limited to 'synapse/handlers/sync.py')
-rw-r--r--synapse/handlers/sync.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/sync.py b/synapse/handlers/sync.py

index fa016cfcbe..de244d7507 100644 --- a/synapse/handlers/sync.py +++ b/synapse/handlers/sync.py
@@ -571,13 +571,13 @@ class SyncHandler(object): # be a valid name or canonical_alias - i.e. we're checking that they # haven't been "deleted" by blatting {} over the top. if name_id: - name = yield self.store.get_event(name_id, allow_none=False) + name = yield self.store.get_event(name_id, allow_none=True) if name and name.content: defer.returnValue(summary) if canonical_alias_id: canonical_alias = yield self.store.get_event( - canonical_alias_id, allow_none=False, + canonical_alias_id, allow_none=True, ) if canonical_alias and canonical_alias.content: defer.returnValue(summary)