From 46f969e5ddbe4404dbc82dbe78ab2fa101d9922e Mon Sep 17 00:00:00 2001 From: Joram Wilander Date: Thu, 21 Jun 2018 13:42:20 -0400 Subject: MM-10425 Include active_channel in cluster update user status messages (#8967) * Include active_channel in cluster update user status messages * Update to use new ToJson method * Update tests --- app/status.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/status.go') diff --git a/app/status.go b/app/status.go index 9aab82328..e2367a396 100644 --- a/app/status.go +++ b/app/status.go @@ -29,7 +29,7 @@ func (a *App) AddStatusCache(status *model.Status) { msg := &model.ClusterMessage{ Event: model.CLUSTER_EVENT_UPDATE_STATUS, SendType: model.CLUSTER_SEND_BEST_EFFORT, - Data: status.ToJson(), + Data: status.ToClusterJson(), } a.Cluster.SendClusterMessage(msg) } -- cgit v1.2.3-1-g7c22