diff options
Diffstat (limited to 'app/command_away.go')
-rw-r--r-- | app/command_away.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/command_away.go b/app/command_away.go index 77f5cc7f3..4bb53a425 100644 --- a/app/command_away.go +++ b/app/command_away.go @@ -33,7 +33,7 @@ func (me *AwayProvider) GetCommand(T goi18n.TranslateFunc) *model.Command { } func (me *AwayProvider) DoCommand(args *model.CommandArgs, message string) *model.CommandResponse { - SetStatusAwayIfNeeded(args.UserId, true) + Global().SetStatusAwayIfNeeded(args.UserId, true) return &model.CommandResponse{ResponseType: model.COMMAND_RESPONSE_TYPE_EPHEMERAL, Text: args.T("api.command_away.success")} } |