From 6454d37c46c6807089ace73e501ffd30f367b46f Mon Sep 17 00:00:00 2001 From: mohitks Date: Sun, 15 Dec 2019 10:29:59 +0530 Subject: [PATCH] fix a typo Signed-off-by: mohitks --- clientapi/routing/login.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clientapi/routing/login.go b/clientapi/routing/login.go index c1036a2bd..e012cd5de 100644 --- a/clientapi/routing/login.go +++ b/clientapi/routing/login.go @@ -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: