mirror of
https://mau.dev/maunium/synapse.git
synced 2024-11-15 14:32:30 +01:00
Merge branch 'master' into develop
This commit is contained in:
commit
683deee9a4
3 changed files with 22 additions and 4 deletions
|
@ -1,3 +1,12 @@
|
||||||
|
Synapse 1.38.1 (2021-07-22)
|
||||||
|
===========================
|
||||||
|
|
||||||
|
Bugfixes
|
||||||
|
--------
|
||||||
|
|
||||||
|
- Always include `device_one_time_keys_count` key in `/sync` response to work around a bug in Element Android that broke encryption for new devices. ([\#10457](https://github.com/matrix-org/synapse/issues/10457))
|
||||||
|
|
||||||
|
|
||||||
Synapse 1.39.0rc1 (2021-07-20)
|
Synapse 1.39.0rc1 (2021-07-20)
|
||||||
==============================
|
==============================
|
||||||
|
|
||||||
|
|
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -4,6 +4,12 @@ matrix-synapse-py3 (1.39.0ubuntu1) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
-- Richard van der Hoff <richard@matrix.org> Tue, 20 Jul 2021 00:10:03 +0100
|
-- Richard van der Hoff <richard@matrix.org> Tue, 20 Jul 2021 00:10:03 +0100
|
||||||
|
|
||||||
|
matrix-synapse-py3 (1.38.1) stable; urgency=medium
|
||||||
|
|
||||||
|
* New synapse release 1.38.1.
|
||||||
|
|
||||||
|
-- Synapse Packaging team <packages@matrix.org> Thu, 22 Jul 2021 15:37:06 +0100
|
||||||
|
|
||||||
matrix-synapse-py3 (1.39.0~rc1) stable; urgency=medium
|
matrix-synapse-py3 (1.39.0~rc1) stable; urgency=medium
|
||||||
|
|
||||||
* New synapse release 1.39.0rc1.
|
* New synapse release 1.39.0rc1.
|
||||||
|
|
|
@ -252,10 +252,13 @@ class SyncRestServlet(RestServlet):
|
||||||
if sync_result.device_lists.left:
|
if sync_result.device_lists.left:
|
||||||
response["device_lists"]["left"] = list(sync_result.device_lists.left)
|
response["device_lists"]["left"] = list(sync_result.device_lists.left)
|
||||||
|
|
||||||
if sync_result.device_one_time_keys_count:
|
# We always include this because https://github.com/vector-im/element-android/issues/3725
|
||||||
response[
|
# The spec isn't terribly clear on when this can be omitted and how a client would tell
|
||||||
"device_one_time_keys_count"
|
# the difference between "no keys present" and "nothing changed" in terms of whole field
|
||||||
] = sync_result.device_one_time_keys_count
|
# absent / individual key type entry absent
|
||||||
|
# Corresponding synapse issue: https://github.com/matrix-org/synapse/issues/10456
|
||||||
|
response["device_one_time_keys_count"] = sync_result.device_one_time_keys_count
|
||||||
|
|
||||||
if sync_result.device_unused_fallback_key_types:
|
if sync_result.device_unused_fallback_key_types:
|
||||||
response[
|
response[
|
||||||
"org.matrix.msc2732.device_unused_fallback_key_types"
|
"org.matrix.msc2732.device_unused_fallback_key_types"
|
||||||
|
|
Loading…
Reference in a new issue