From 93a6178d45970c736d18afcdd371b617bba1a6a9 Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Tue, 22 May 2018 18:44:07 +0100 Subject: [PATCH] Fix typo in register.go All in a hard day's work. Signed-off-by: Andrew Morgan --- .../matrix-org/dendrite/clientapi/routing/register.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/github.com/matrix-org/dendrite/clientapi/routing/register.go b/src/github.com/matrix-org/dendrite/clientapi/routing/register.go index 233719d9..b4e0d3ad 100644 --- a/src/github.com/matrix-org/dendrite/clientapi/routing/register.go +++ b/src/github.com/matrix-org/dendrite/clientapi/routing/register.go @@ -64,7 +64,7 @@ func (d sessionsDict) GetCompletedStages(sessionID string) []authtypes.LoginType return make([]authtypes.LoginType, 0) } -// AAddCompletedStage records that a session has completed an auth stage. +// AddCompletedStage records that a session has completed an auth stage. func (d *sessionsDict) AddCompletedStage(sessionID string, stage authtypes.LoginType) { d.sessions[sessionID] = append(d.GetCompletedStages(sessionID), stage) }