aboutsummaryrefslogtreecommitdiff
path: root/ui/command-processor.go
diff options
context:
space:
mode:
authorJaron Swab <jrswab@gmail.com>2019-06-13 21:14:32 -0400
committerJaron Swab <jrswab@gmail.com>2019-06-13 21:14:32 -0400
commitfcd44fe63fe0cedc038db92ae39507237cc5589a (patch)
treeee3b13cbf99dc8ccdadbd20c22c62e8f7fcdcfb0 /ui/command-processor.go
parent4bcdcd1ccd1d616d29614e5eaf8bfb1df679aa6d (diff)
Users can now create a new room directly in Gomuks
Added the ability to create a room from within gomuks using the now `/create` command. This comman takes the room name followed by the alias. Room name may contain spaces but the alias may not as per the Matrix alias conventions. Also update `/help` to include the new command.
Diffstat (limited to 'ui/command-processor.go')
-rw-r--r--ui/command-processor.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/command-processor.go b/ui/command-processor.go
index 7a4c2c1..0692ae3 100644
--- a/ui/command-processor.go
+++ b/ui/command-processor.go
@@ -90,6 +90,7 @@ func NewCommandProcessor(parent *MainView) *CommandProcessor {
"quit": cmdQuit,
"clearcache": cmdClearCache,
"leave": cmdLeave,
+ "create": cmdCreateRoom,
"join": cmdJoin,
"kick": cmdKick,
"ban": cmdBan,