aboutsummaryrefslogtreecommitdiff
path: root/mxlib
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2020-02-18 18:14:48 +0100
committerAlex Auvolat <alex@adnab.me>2020-02-18 18:17:08 +0100
commit65ddb6be2bafecad1d58bb00cab6020a5df3da0e (patch)
tree69dd2b84f8c6a42f48bb3d0d0a2991fb5ab55e62 /mxlib
parent1370a6b35fd3e805385ea0e3ad674052627cd1f3 (diff)
downloadeasybridge-65ddb6be2bafecad1d58bb00cab6020a5df3da0e.tar.gz
easybridge-65ddb6be2bafecad1d58bb00cab6020a5df3da0e.zip
Do not set room name for PM room
Diffstat (limited to 'mxlib')
-rw-r--r--mxlib/api.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/mxlib/api.go b/mxlib/api.go
index c7061b3..6dfe56e 100644
--- a/mxlib/api.go
+++ b/mxlib/api.go
@@ -50,9 +50,8 @@ type CreateRoomRequest struct {
PowerLevels map[string]interface{} `json:"power_level_content_override"`
}
-type CreateRoomNoAliasRequest struct {
+type CreateDirectRoomRequest struct {
Preset string `json:"preset"`
- Name string `json:"name"`
Topic string `json:"topic"`
Invite []string `json:"invite"`
CreationContent map[string]interface{} `json:"creation_content"`