mirror of
https://github.com/element-hq/synapse
synced 2024-09-04 00:50:10 +00:00
Spell height more correctly
This commit is contained in:
parent
22c1ffb0a0
commit
038f5afb07
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ class IdenticonResource(Resource):
|
|||
def render_GET(self, request):
|
||||
name = "/".join(request.postpath)
|
||||
width = int(request.args.get("width", 96))
|
||||
height = int(request.args.get("width", 96))
|
||||
height = int(request.args.get("height", 96))
|
||||
identicon_bytes = self.generate_identicon(name, width, height)
|
||||
request.setHeader(b"Content-Type", b"image/png")
|
||||
return identicon_bytes
|
||||
|
|
Loading…
Reference in a new issue