Update TODO

This commit is contained in:
Brendan Abolivier 2017-07-28 14:54:55 +01:00
parent 0c60736468
commit 21fad50477

View file

@ -186,8 +186,8 @@ func (r joinRoomReq) joinRoomUsingServers(
if queryRes.RoomExists { if queryRes.RoomExists {
// The room exists in the local database, so we just have to send a join // The room exists in the local database, so we just have to send a join
// membership event and return the room ID // membership event and return the room ID
// TODO: Check if the user is allowed in the room (hasn't been banned, // TODO: Check if the user is allowed in the room (has been invited if
// or has been invited if the room is invite-only) // the room is invite-only)
eb.Depth = queryRes.Depth eb.Depth = queryRes.Depth
eb.PrevEvents = queryRes.LatestEvents eb.PrevEvents = queryRes.LatestEvents