diff options
Diffstat (limited to 'app/command_dnd.go')
-rw-r--r-- | app/command_dnd.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/command_dnd.go b/app/command_dnd.go index cd3764fdf..96135194d 100644 --- a/app/command_dnd.go +++ b/app/command_dnd.go @@ -38,7 +38,7 @@ func (me *DndProvider) DoCommand(a *App, args *model.CommandArgs, message string return &model.CommandResponse{ResponseType: model.COMMAND_RESPONSE_TYPE_EPHEMERAL, Text: args.T("api.command_dnd.error")} } else { if status.Status == "dnd" { - a.SetStatusOnline(args.UserId, args.Session.Id, true) + a.SetStatusOnline(args.UserId, true) return &model.CommandResponse{ResponseType: model.COMMAND_RESPONSE_TYPE_EPHEMERAL, Text: args.T("api.command_dnd.disabled")} } } |