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_online.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/command_online.go') diff --git a/app/command_online.go b/app/command_online.go index c98f1649b..16501e09c 100644 --- a/app/command_online.go +++ b/app/command_online.go @@ -33,7 +33,7 @@ func (me *OnlineProvider) GetCommand(T goi18n.TranslateFunc) *model.Command { } func (me *OnlineProvider) DoCommand(args *model.CommandArgs, message string) *model.CommandResponse { - SetStatusOnline(args.UserId, args.Session.Id, true) + Global().SetStatusOnline(args.UserId, args.Session.Id, true) return &model.CommandResponse{ResponseType: model.COMMAND_RESPONSE_TYPE_EPHEMERAL, Text: args.T("api.command_online.success")} } -- cgit v1.2.3-1-g7c22