summaryrefslogtreecommitdiffstats
path: root/app/status.go
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2018-06-21 13:42:20 -0400
committerChristopher Speller <crspeller@gmail.com>2018-06-21 10:42:20 -0700
commit46f969e5ddbe4404dbc82dbe78ab2fa101d9922e (patch)
treef526b349e193f085b2641548ebf97f3c448ac5a6 /app/status.go
parentd36ad6cb54b636fd315794be6aa9fd76c995e264 (diff)
downloadchat-46f969e5ddbe4404dbc82dbe78ab2fa101d9922e.tar.gz
chat-46f969e5ddbe4404dbc82dbe78ab2fa101d9922e.tar.bz2
chat-46f969e5ddbe4404dbc82dbe78ab2fa101d9922e.zip
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
Diffstat (limited to 'app/status.go')
-rw-r--r--app/status.go2
1 files changed, 1 insertions, 1 deletions
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)
}