Merge branch 'master' of ssh://git.nixo.xyz:23633/nixo/MatrixChat.jl

master
Nicolò Balzarotti 2018-11-08 14:45:08 +01:00
commit 3afb7bbafc
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ function new_user(s::MatrixServer,
parsed = String(raw_response.body)
write("$(username).json", parsed)
parsed = JSON.json(parsed)
parsed = JSON.parse(parsed)
MatrixUser(s,
parsed["user_id"], parsed["access_token"],
parsed["device_id"])