aboutsummaryrefslogtreecommitdiff
path: root/clientapi/routing/joinroom.go
diff options
context:
space:
mode:
Diffstat (limited to 'clientapi/routing/joinroom.go')
-rw-r--r--clientapi/routing/joinroom.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/clientapi/routing/joinroom.go b/clientapi/routing/joinroom.go
index 9c02a93c..432c982b 100644
--- a/clientapi/routing/joinroom.go
+++ b/clientapi/routing/joinroom.go
@@ -70,7 +70,7 @@ func JoinRoomByIDOrAlias(
return httputil.LogThenError(req, err)
}
- content["membership"] = "join"
+ content["membership"] = gomatrixserverlib.Join
content["displayname"] = profile.DisplayName
content["avatar_url"] = profile.AvatarURL