hunk.code_window: 					if webCon.UserId == userId {
   						webCon.InvalidateCache()
   					}
   				}
   			case msg := <-h.broadcast:
   				for webCon := range h.connections {
   					if shouldSendEvent(webCon, msg) {
   						select {
  
hunk.labels: keep keep keep keep add keep keep keep keep
hunk.after_edit: 			case channelId := <-h.invalidateChannel:
   				for webCon := range h.connections {
   					webCon.InvalidateCacheForChannel(channelId)
   				}
  
hunk.file_path: api/web_hub.go
hunk.type: add
file: // Copyright (c) 2016 Mattermost, Inc. All Rights Reserved.
  // See License.txt for license information.
  
  package model
  
  import (
  	"strings"
  	"testing"
  )
  
  func TestCompliance(t *testing.T) {
  	o := Compliance{Desc: "test", CreateAt: GetMillis()}
  	json := o.ToJson()
  	result := ComplianceFromJson(strings.NewReader(json))
  
  	if o.Desc != result.Desc {
  		t.Fatal("JobName do not match")
  	}
  }
  