Cleaned comments

This commit is contained in:
Crom (Thibaut CHARLES) 2017-12-19 11:27:54 +01:00
parent 55ba1da1b3
commit af8265dfd9
No known key found for this signature in database
GPG key ID: 45A3D5F880B9E6D0

View file

@ -55,13 +55,11 @@ const (
const (
joinRulePublic = "public"
// joinRuleCanJoin = "can_join"
joinRuleInvite = "invite"
// joinRuleKnock = "knock"
// joinRulePrivate = "private"
)
const (
historyVisibilityShared = "shared"
// TODO: These should be implemented once history visibility is implemented
// historyVisibilityWorldReadable = "world_readable"
// historyVisibilityInvited = "invited"
)
@ -222,11 +220,9 @@ func createRoom(req *http.Request, device *authtypes.Device,
if r.Topic != "" {
eventsToMake = append(eventsToMake, fledglingEvent{"m.room.topic", "", common.TopicContent{Topic: r.Topic}})
}
// eventsToMake = append(eventsToMake,
// // TODO: invite events
// // TODO: 3pid invite events
// // TODO: m.room.aliases
// )
// TODO: invite events
// TODO: 3pid invite events
// TODO: m.room.aliases
authEvents := gomatrixserverlib.NewAuthEvents(nil)
for i, e := range eventsToMake {