Skip to content

Commit 7862d70

Browse files
author
David Robertson
committed
Follow-up: format changelog, add licence (matrix-org#10593)
Merged before approval; these comments from @clokep on that PR.
1 parent ee3b2ac commit 7862d70

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

changelog.d/10593.bugfix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
Reject Client-Server /keys/query requests which provide device_ids incorrectly.
1+
Reject Client-Server `/keys/query` requests which provide `device_ids` incorrectly.

tests/rest/client/v2_alpha/test_keys.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# Copyright 2021 The Matrix.org Foundation C.I.C.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License
14+
115
from http import HTTPStatus
216

317
from synapse.api.errors import Codes

0 commit comments

Comments
 (0)