From 21fad50477297651f2b8525ee2c8f3757185d6dc Mon Sep 17 00:00:00 2001 From: Brendan Abolivier Date: Fri, 28 Jul 2017 14:54:55 +0100 Subject: [PATCH] Update TODO --- .../matrix-org/dendrite/clientapi/writers/joinroom.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/github.com/matrix-org/dendrite/clientapi/writers/joinroom.go b/src/github.com/matrix-org/dendrite/clientapi/writers/joinroom.go index 4044eac92..6618b0bdf 100644 --- a/src/github.com/matrix-org/dendrite/clientapi/writers/joinroom.go +++ b/src/github.com/matrix-org/dendrite/clientapi/writers/joinroom.go @@ -186,8 +186,8 @@ func (r joinRoomReq) joinRoomUsingServers( if queryRes.RoomExists { // The room exists in the local database, so we just have to send a join // membership event and return the room ID - // TODO: Check if the user is allowed in the room (hasn't been banned, - // or has been invited if the room is invite-only) + // TODO: Check if the user is allowed in the room (has been invited if + // the room is invite-only) eb.Depth = queryRes.Depth eb.PrevEvents = queryRes.LatestEvents