mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-13 09:53:10 -06:00
Cleaned comments
This commit is contained in:
parent
55ba1da1b3
commit
af8265dfd9
|
|
@ -55,13 +55,11 @@ const (
|
||||||
|
|
||||||
const (
|
const (
|
||||||
joinRulePublic = "public"
|
joinRulePublic = "public"
|
||||||
// joinRuleCanJoin = "can_join"
|
|
||||||
joinRuleInvite = "invite"
|
joinRuleInvite = "invite"
|
||||||
// joinRuleKnock = "knock"
|
|
||||||
// joinRulePrivate = "private"
|
|
||||||
)
|
)
|
||||||
const (
|
const (
|
||||||
historyVisibilityShared = "shared"
|
historyVisibilityShared = "shared"
|
||||||
|
// TODO: These should be implemented once history visibility is implemented
|
||||||
// historyVisibilityWorldReadable = "world_readable"
|
// historyVisibilityWorldReadable = "world_readable"
|
||||||
// historyVisibilityInvited = "invited"
|
// historyVisibilityInvited = "invited"
|
||||||
)
|
)
|
||||||
|
|
@ -222,11 +220,9 @@ func createRoom(req *http.Request, device *authtypes.Device,
|
||||||
if r.Topic != "" {
|
if r.Topic != "" {
|
||||||
eventsToMake = append(eventsToMake, fledglingEvent{"m.room.topic", "", common.TopicContent{Topic: r.Topic}})
|
eventsToMake = append(eventsToMake, fledglingEvent{"m.room.topic", "", common.TopicContent{Topic: r.Topic}})
|
||||||
}
|
}
|
||||||
// eventsToMake = append(eventsToMake,
|
// TODO: invite events
|
||||||
// // TODO: invite events
|
// TODO: 3pid invite events
|
||||||
// // TODO: 3pid invite events
|
// TODO: m.room.aliases
|
||||||
// // TODO: m.room.aliases
|
|
||||||
// )
|
|
||||||
|
|
||||||
authEvents := gomatrixserverlib.NewAuthEvents(nil)
|
authEvents := gomatrixserverlib.NewAuthEvents(nil)
|
||||||
for i, e := range eventsToMake {
|
for i, e := range eventsToMake {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue