From cebb4bef843e848531bdf3465f49bd0d995efa8e Mon Sep 17 00:00:00 2001 From: JoramWilander Date: Mon, 29 Jun 2015 09:07:13 -0400 Subject: move default channel creation to seperate func and add off-topic --- api/command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/command.go') diff --git a/api/command.go b/api/command.go index aedbe07cc..49bea6cc9 100644 --- a/api/command.go +++ b/api/command.go @@ -197,7 +197,7 @@ func joinCommand(c *Context, command *model.Command) bool { return false } - JoinChannel(c, v.Id, "/command") + JoinChannel(c, v.Id) if c.Err != nil { return false -- cgit v1.2.3-1-g7c22 From d00f90d10c60c82fb74444c3c1118b380d149118 Mon Sep 17 00:00:00 2001 From: JoramWilander Date: Mon, 29 Jun 2015 10:24:45 -0400 Subject: new users now join off-topic defaultly --- api/command.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/command.go') diff --git a/api/command.go b/api/command.go index 49bea6cc9..810a8a07e 100644 --- a/api/command.go +++ b/api/command.go @@ -197,7 +197,7 @@ func joinCommand(c *Context, command *model.Command) bool { return false } - JoinChannel(c, v.Id) + JoinChannel(c, v.Id, "") if c.Err != nil { return false -- cgit v1.2.3-1-g7c22