mirror of
https://github.com/mattermost/mattermost.git
synced 2026-09-24 16:05:00 +08:00
move default channel creation to seperate func and add off-topic
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user