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 {
// 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