diff options
Diffstat (limited to 'api/command_join.go')
-rw-r--r-- | api/command_join.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/command_join.go b/api/command_join.go index f59925c06..af4443306 100644 --- a/api/command_join.go +++ b/api/command_join.go @@ -46,7 +46,7 @@ func (me *JoinProvider) DoCommand(c *Context, channelId string, message string) return &model.CommandResponse{Text: c.T("api.command_join.fail.app_error"), ResponseType: model.COMMAND_RESPONSE_TYPE_EPHEMERAL} } - JoinChannel(c, v.Id, "") + JoinChannelById(c, c.Session.UserId, v.Id) if c.Err != nil { c.Err = nil |