summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorWill Hunt <will@half-shot.uk>2020-12-07 19:13:07 +0000
committerGitHub <noreply@github.com>2020-12-07 19:13:07 +0000
commitff1f0ee09472b554832fb39952f389d01a4233ac (patch)
treee849c2a69a6920e7e15f5109f27ff6358f1ab70c /changelog.d
parentDo not raise a 500 exception when previewing empty media. (#8883) (diff)
downloadsynapse-ff1f0ee09472b554832fb39952f389d01a4233ac.tar.xz
Call set_avatar_url with target_user, not user_id (#8872)
* Call set_avatar_url with target_user, not user_id

Fixes https://github.com/matrix-org/synapse/issues/8871

* Create 8872.bugfix

* Update synapse/rest/admin/users.py

Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>

* Testing

* Update changelog.d/8872.bugfix

Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>

Co-authored-by: Patrick Cloke <clokep@users.noreply.github.com>
Co-authored-by: Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
Diffstat (limited to 'changelog.d')
-rw-r--r--changelog.d/8872.bugfix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/8872.bugfix b/changelog.d/8872.bugfix
new file mode 100644
index 0000000000..ed00b70a0f
--- /dev/null
+++ b/changelog.d/8872.bugfix
@@ -0,0 +1 @@
+Fix a bug where `PUT /_synapse/admin/v2/users/<user_id>` failed to create a new user when `avatar_url` is specified. Bug introduced in Synapse v1.9.0.