diff options
author | Will Hunt <will@half-shot.uk> | 2022-04-22 16:03:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-22 16:03:46 +0100 |
commit | b82fff66df6ea050d4d8da880c2ea2840e3fce0d (patch) | |
tree | 8c3f42c1480242b17433fafe7be031903c4ed07c /synapse/appservice | |
parent | turn-howto: fix some links (diff) | |
download | synapse-b82fff66df6ea050d4d8da880c2ea2840e3fce0d.tar.xz |
MSC3202: Fix device_unused_fallback_keys -> device_unused_fallback_key_types (#12520)
* Fix device_unused_fallback_keys -> device_unused_fallback_key_types * changelog
Diffstat (limited to '')
-rw-r--r-- | synapse/appservice/__init__.py | 2 | ||||
-rw-r--r-- | synapse/appservice/api.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/synapse/appservice/__init__.py b/synapse/appservice/__init__.py index d23d9221bc..a610fb785d 100644 --- a/synapse/appservice/__init__.py +++ b/synapse/appservice/__init__.py @@ -42,7 +42,7 @@ logger = logging.getLogger(__name__) # user ID -> {device ID -> {algorithm -> count}} TransactionOneTimeKeyCounts = Dict[str, Dict[str, Dict[str, int]]] -# Type for the `device_unused_fallback_keys` field in an appservice transaction +# Type for the `device_unused_fallback_key_types` field in an appservice transaction # user ID -> {device ID -> [algorithm]} TransactionUnusedFallbackKeys = Dict[str, Dict[str, List[str]]] diff --git a/synapse/appservice/api.py b/synapse/appservice/api.py index 0cdbb04bfb..adc6b074da 100644 --- a/synapse/appservice/api.py +++ b/synapse/appservice/api.py @@ -278,7 +278,7 @@ class ApplicationServiceApi(SimpleHttpClient): ] = one_time_key_counts if unused_fallback_keys: body[ - "org.matrix.msc3202.device_unused_fallback_keys" + "org.matrix.msc3202.device_unused_fallback_key_types" ] = unused_fallback_keys if device_list_summary: body["org.matrix.msc3202.device_lists"] = { |