From 1adfd0e9be69a93c7f63bb7afc742c9fafe31aa3 Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 6 Sep 2017 17:12:54 -0500 Subject: app type transition (#7167) --- app/command_away.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/command_away.go') 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")} } -- cgit v1.2.3-1-g7c22