fix a typo

Signed-off-by: mohitks <mohitkumarsingh907@gmail.com>
This commit is contained in:
mohitks 2019-12-15 10:29:59 +05:30
parent b7c676cdf3
commit 6454d37c46

View file

@ -89,7 +89,7 @@ func Login(
// go over identifier types
switch r.Identifier.Type {
case "m.type.user":
// depreciate user in favor of identifier field
// depreciate user in favour of identifier field
// https://matrix.org/docs/spec/client_server/unstable#post-matrix-client-r0-login
r.User = r.Identifier.User
default: