hunk.code_window: 	if result := <-Srv.Store.Channel().Update(channel); result.Err != nil {
   		return nil, result.Err
   	} else {
   		InvalidateCacheForChannel(channel)
   		return channel, nil
   	}
   }
  
hunk.labels: keep keep keep add keep keep keep keep
hunk.after_edit: 		messageWs := model.NewWebSocketEvent(model.WEBSOCKET_EVENT_CHANNEL_UPDATED, "", channel.Id, "", nil)
   		messageWs.Add("channel", channel.ToJson())
   		Publish(messageWs)
  
hunk.file_path: app/channel.go
hunk.type: add
file: ### Description
  Please explain the changes you made here.
  
  ### Checklist
  - [ ] Code compiles correctly
  - [ ] Created tests which fail without the change (if possible)
  - [ ] All tests passing
  - [ ] Extended the README / documentation, if necessary
  - [ ] Added myself / the copyright holder to the AUTHORS file
  